Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,fileNamePrefix="PowerGrids_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.0008017/0.0008019, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008339/0.0008339, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05823/0.05823, allocations: 14.18 MB / 284.6 MB, free: 7.363 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.0004876/0.0004877, allocations: 12 kB / 347.6 MB, free: 18.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 51.12 MB / 398.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.00478/0.1083, allocations: 4.907 MB / 403.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.1127, allocations: 2.728 MB / 406.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.1131, allocations: 11.94 kB / 406.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.1137, allocations: 210.9 kB / 406.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.1158, allocations: 0.9721 MB / 407.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.1167, allocations: 379.1 kB / 407.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1182, allocations: 1.347 MB / 409.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1184, allocations: 70.03 kB / 409.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.1188, allocations: 414.3 kB / 409.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.1193, allocations: 466.2 kB / 410.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.1194, allocations: 40 kB / 410.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.1199, allocations: 251.8 kB / 410.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1201, allocations: 139.3 kB / 410.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1202, allocations: 161.3 kB / 410.8 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.121, allocations: 0.8142 MB / 411.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.121, allocations: 0 / 411.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.121, allocations: 0 / 411.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.121, allocations: 0 / 411.6 MB, free: 2.398 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.002888/0.1239, allocations: 1.22 MB / 412.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.124, allocations: 16.02 kB / 412.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.734e-05/0.1241, allocations: 82.53 kB / 412.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.1244, allocations: 107 kB / 413 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.1252, allocations: 0.5234 MB / 413.5 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.1252, allocations: 48.94 kB / 413.6 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.456e-05/0.1253, allocations: 63.91 kB / 413.6 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.1261, allocations: 482.1 kB / 414.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1262, allocations: 3.984 kB / 414.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1262, allocations: 20 kB / 414.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1262, allocations: 12 kB / 414.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.1271, allocations: 495.7 kB / 414.6 MB, free: 15.24 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.004177/0.1313, allocations: 2.875 MB / 417.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.1325, allocations: 0.7763 MB / 418.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.1329, allocations: 238.5 kB / 418.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.133, allocations: 8.562 kB / 418.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.133, allocations: 39.12 kB / 418.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.683e-06/0.133, allocations: 0 / 418.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005001/0.138, allocations: 2.094 MB / 420.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1381, allocations: 55.97 kB / 420.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.1387, allocations: 0.4948 MB / 421.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.1388, allocations: 41.7 kB / 421.2 MB, free: 8.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1391, allocations: 249.2 kB / 421.5 MB, free: 7.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.1393, allocations: 240.6 kB / 421.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.1394, allocations: 20 kB / 421.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1396, allocations: 374.8 kB / 422.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.1402, allocations: 333.9 kB / 422.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.1408, allocations: 413.4 kB / 422.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.1415, allocations: 382.9 kB / 423.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1415, allocations: 0 / 423.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004562/0.146, allocations: 1.589 MB / 424.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1462, allocations: 118.7 kB / 424.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1462, allocations: 0 / 424.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004547/0.1507, allocations: 1.022 MB / 425.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.1516, allocations: 203.8 kB / 426.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1998/0.3514, allocations: 9.364 MB / 435.5 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.3523, allocations: 37.77 kB / 435.5 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.3524, allocations: 35.11 kB / 435.6 MB, free: 24.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3524, allocations: 3.156 kB / 435.6 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/0.3556, allocations: 1.198 MB / 436.8 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3556, allocations: 0.7031 kB / 436.8 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.3579, allocations: 0.6092 MB / 437.4 MB, free: 24.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.3588, allocations: 217.1 kB / 437.6 MB, free: 24.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/0.3669, allocations: 10.56 MB / 448.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.3677, allocations: 36.47 kB / 448.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.3678, allocations: 33.84 kB / 448.2 MB, free: 15.26 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.0003899/0.3682, allocations: 275.5 kB / 448.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3683, allocations: 61.86 kB / 448.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.3698, allocations: 0.7877 MB / 449.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3699, allocations: 12.14 kB / 449.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3699, allocations: 6.406 kB / 449.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3699, allocations: 4.141 kB / 449.4 MB, free: 14.95 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.002515/0.3724, allocations: 1.555 MB / 450.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3724, allocations: 3.828 kB / 450.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.3731, allocations: 140.4 kB / 451.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008317/0.3739, allocations: 272.1 kB / 451.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.3739, allocations: 11.14 kB / 451.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.3767, allocations: 2.386 MB / 453.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3768, allocations: 5.016 kB / 453.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3785, allocations: 1.121 MB / 454.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.3787, allocations: 183.5 kB / 455 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.3788, allocations: 15.45 kB / 455 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3792, allocations: 26.11 kB / 455.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3793, allocations: 48.14 kB / 455.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3793, allocations: 19.88 kB / 455.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.3797, allocations: 327.4 kB / 455.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3797, allocations: 0 / 455.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001469/0.3812, allocations: 451.6 kB / 455.9 MB, free: 12.15 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.002019/0.3832, allocations: 1.717 MB / 457.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.3876, allocations: 3.007 MB / 460.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3876, allocations: 0 / 460.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008196/0.3885, allocations: 0.5209 MB / 461.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.3891, allocations: 82.52 kB / 461.2 MB, free: 8.828 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.008716/0.3978, allocations: 4.918 MB / 466.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3982, allocations: 0.9163 MB / 467.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.3986, allocations: 78.75 kB / 467.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.3988, allocations: 217 kB / 467.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3989, allocations: 0 / 467.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.4361, allocations: 20.45 MB / 487.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.4364, allocations: 229.2 kB / 488 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.692, allocations: 4.062 kB / 488 MB, free: 0.8242 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe 2>&1) Environment - environmentSimulation: