Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 92.7 kB / 15.71 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 175.7 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06387/0.06387, allocations: 14.17 MB / 285.2 MB, free: 7.137 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006472, allocations: 16 kB / 348.2 MB, free: 18.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.137, allocations: 51.12 MB / 399.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.007859/0.145, allocations: 4.906 MB / 404.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.1513, allocations: 2.732 MB / 407 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1525, allocations: 11.94 kB / 407 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1537, allocations: 214.9 kB / 407.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.1571, allocations: 0.9641 MB / 408.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1583, allocations: 386.7 kB / 408.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.1604, allocations: 1.343 MB / 409.9 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1606, allocations: 70.03 kB / 410 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.1612, allocations: 410.3 kB / 410.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.1618, allocations: 470.2 kB / 410.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.579e-05/0.1619, allocations: 39.94 kB / 410.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007368/0.1627, allocations: 251.8 kB / 411.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1628, allocations: 139.3 kB / 411.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.163, allocations: 161.3 kB / 411.4 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.1639, allocations: 0.8142 MB / 412.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1639, allocations: 4 kB / 412.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1639, allocations: 0 / 412.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1639, allocations: 0 / 412.2 MB, free: 2.355 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003303/0.1673, allocations: 1.22 MB / 413.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1673, allocations: 12.02 kB / 413.5 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.1674, allocations: 78.53 kB / 413.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.1678, allocations: 115 kB / 413.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.1687, allocations: 0.5156 MB / 414.2 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.1688, allocations: 45 kB / 414.2 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.1689, allocations: 67.84 kB / 414.3 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.1698, allocations: 486.1 kB / 414.8 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1698, allocations: 3.984 kB / 414.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1699, allocations: 20 kB / 414.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1699, allocations: 12 kB / 414.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.1708, allocations: 495.7 kB / 415.3 MB, free: 15.2 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.1755, allocations: 2.875 MB / 418.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.177, allocations: 0.7724 MB / 418.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.1774, allocations: 238.5 kB / 419.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/0.1774, allocations: 12.55 kB / 419.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1775, allocations: 39.12 kB / 419.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.314e-06/0.1775, allocations: 0 / 419.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005253/0.1828, allocations: 2.094 MB / 421.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.1828, allocations: 59.97 kB / 421.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.1834, allocations: 0.4948 MB / 421.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.1835, allocations: 41.7 kB / 421.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.1837, allocations: 257.2 kB / 422.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.184, allocations: 232.6 kB / 422.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.184, allocations: 20 kB / 422.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.1843, allocations: 374.8 kB / 422.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.1849, allocations: 329.9 kB / 423.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.1855, allocations: 417.4 kB / 423.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.1862, allocations: 382.9 kB / 423.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1862, allocations: 0 / 423.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00473/0.191, allocations: 1.593 MB / 425.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1911, allocations: 118.7 kB / 425.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1911, allocations: 0 / 425.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/0.1958, allocations: 1.022 MB / 426.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/0.1966, allocations: 199.8 kB / 426.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2969/0.4935, allocations: 9.371 MB / 436.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/0.4945, allocations: 34.48 kB / 436.2 MB, free: 32.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/0.4946, allocations: 32.14 kB / 436.2 MB, free: 32.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4946, allocations: 4.188 kB / 436.2 MB, free: 32.02 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003208/0.4978, allocations: 1.192 MB / 437.4 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4978, allocations: 1.422 kB / 437.4 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.5003, allocations: 0.611 MB / 438 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009449/0.5012, allocations: 219.8 kB / 438.2 MB, free: 31.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/0.5102, allocations: 10.56 MB / 448.8 MB, free: 21.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/0.511, allocations: 37.22 kB / 448.8 MB, free: 21.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.5111, allocations: 30.5 kB / 448.9 MB, free: 21.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,3 7,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004851/0.5116, allocations: 268.1 kB / 449.1 MB, free: 21.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.5118, allocations: 65.95 kB / 449.2 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.5136, allocations: 0.7901 MB / 450 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5136, allocations: 6.344 kB / 450 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5136, allocations: 8.406 kB / 450 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5136, allocations: 2.766 kB / 450 MB, free: 20.93 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.5165, allocations: 1.565 MB / 451.6 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5166, allocations: 0 / 451.6 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.5172, allocations: 138.5 kB / 451.7 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000966/0.5182, allocations: 272.8 kB / 452 MB, free: 19.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.5183, allocations: 11.86 kB / 452 MB, free: 19.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/0.5217, allocations: 2.385 MB / 454.4 MB, free: 18.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5217, allocations: 1.25 kB / 454.4 MB, free: 18.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.5364, allocations: 8.16 MB / 462.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.5367, allocations: 185.1 kB / 462.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.5368, allocations: 11.91 kB / 462.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.5372, allocations: 26.81 kB / 462.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5373, allocations: 47.45 kB / 462.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.5374, allocations: 15.69 kB / 462.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.5378, allocations: 328.5 kB / 463.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5378, allocations: 4 kB / 463.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002248/0.54, allocations: 0.614 MB / 463.7 MB, free: 12.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002136/0.5422, allocations: 1.715 MB / 465.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004743/0.5469, allocations: 3.007 MB / 468.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.547, allocations: 0 / 468.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.5479, allocations: 0.522 MB / 469 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.5485, allocations: 87.23 kB / 469.1 MB, free: 8.285 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.559, allocations: 5.59 MB / 474.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.5595, allocations: 0.9322 MB / 475.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.56, allocations: 88.8 kB / 475.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.5603, allocations: 223.4 kB / 475.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5603, allocations: 0 / 475.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/0.6064, allocations: 22.41 MB / 498.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.6068, allocations: 239.7 kB / 498.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.24, allocations: 0 / 498.5 MB, free: 10.78 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe 2>&1) Environment - environmentSimulation: