Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.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: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009835, allocations: 96.27 kB / 15.7 MB, free: 472 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.001093/0.001093, allocations: 179.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.708/1.708, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06532/0.06532, allocations: 14.17 MB / 285.2 MB, free: 7.145 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.0005375/0.0005375, allocations: 16 kB / 348.1 MB, free: 18.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1218, allocations: 51.11 MB / 399.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005339/0.1271, allocations: 4.585 MB / 403.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.1311, allocations: 2.713 MB / 406.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.1314, allocations: 4 kB / 406.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.1319, allocations: 218.8 kB / 406.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1341, allocations: 1.035 MB / 407.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.1349, allocations: 383 kB / 408.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1362, allocations: 0.9554 MB / 409.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1364, allocations: 77.73 kB / 409.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.137, allocations: 430.6 kB / 409.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.1375, allocations: 466.4 kB / 410.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.1376, allocations: 39.94 kB / 410.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.1383, allocations: 255.7 kB / 410.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1384, allocations: 135.4 kB / 410.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1386, allocations: 165.3 kB / 410.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008946/0.1395, allocations: 0.8029 MB / 411.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1395, allocations: 0 / 411.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1395, allocations: 4 kB / 411.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1395, allocations: 0 / 411.4 MB, free: 3.152 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.003253/0.1428, allocations: 1.227 MB / 412.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1428, allocations: 8.031 kB / 412.7 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.1438, allocations: 155 kB / 412.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.1447, allocations: 0.5312 MB / 413.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.1447, allocations: 40.98 kB / 413.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1448, allocations: 67.91 kB / 413.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.1456, allocations: 474.1 kB / 413.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1457, allocations: 0 / 413.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.1457, allocations: 20 kB / 413.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1457, allocations: 15.94 kB / 414 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.1465, allocations: 495.7 kB / 414.4 MB, free: 44 kB / 302.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.004999/0.1515, allocations: 2.907 MB / 417.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1529, allocations: 0.7729 MB / 418.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.1529, allocations: 8.547 kB / 418.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.153, allocations: 43.06 kB / 418.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.063e-06/0.153, allocations: 0 / 418.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005045/0.158, allocations: 2.047 MB / 420.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1581, allocations: 55.97 kB / 420.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.1587, allocations: 0.4948 MB / 420.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.1588, allocations: 49.64 kB / 420.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.159, allocations: 253.2 kB / 421.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.1591, allocations: 228.7 kB / 421.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.1592, allocations: 20 kB / 421.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1594, allocations: 378.8 kB / 421.7 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.16, allocations: 353.8 kB / 422 MB, free: 7.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.1606, allocations: 433.3 kB / 422.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.1613, allocations: 395 kB / 422.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1613, allocations: 4 kB / 422.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01115/0.1725, allocations: 1.901 MB / 424.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.1727, allocations: 279 kB / 425 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.1728, allocations: 3.984 kB / 425 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/0.1869, allocations: 1.44 MB / 426.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.1879, allocations: 207.8 kB / 426.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2471/0.435, allocations: 10.32 MB / 437 MB, free: 31.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008577/0.4359, allocations: 35.64 kB / 437 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.4359, allocations: 33.59 kB / 437.1 MB, free: 31.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.436, allocations: 4.156 kB / 437.1 MB, free: 31.45 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003035/0.439, allocations: 1.201 MB / 438.3 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.439, allocations: 2.359 kB / 438.3 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.4415, allocations: 0.6035 MB / 438.9 MB, free: 30.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.4424, allocations: 224 kB / 439.1 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/0.4509, allocations: 10.65 MB / 449.7 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.4517, allocations: 32.92 kB / 449.8 MB, free: 20.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.4518, allocations: 32.28 kB / 449.8 MB, free: 20.92 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,4 6,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.4522, allocations: 267.3 kB / 450.1 MB, free: 20.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.4523, allocations: 75.36 kB / 450.1 MB, free: 20.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.454, allocations: 0.7799 MB / 450.9 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.454, allocations: 6.906 kB / 450.9 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.454, allocations: 8.125 kB / 450.9 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.454, allocations: 2.531 kB / 450.9 MB, free: 20.29 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.00239/0.4564, allocations: 1.561 MB / 452.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4564, allocations: 4 kB / 452.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.4571, allocations: 138 kB / 452.6 MB, free: 19.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008852/0.458, allocations: 274.6 kB / 452.9 MB, free: 19.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.458, allocations: 16.08 kB / 452.9 MB, free: 19.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.461, allocations: 2.445 MB / 455.4 MB, free: 17.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4611, allocations: 0 / 455.4 MB, free: 17.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.4759, allocations: 8.742 MB / 464.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.4762, allocations: 183.9 kB / 464.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/0.4763, allocations: 15.88 kB / 464.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.4768, allocations: 30.47 kB / 464.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.477, allocations: 44.25 kB / 464.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.477, allocations: 15.75 kB / 464.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003989/0.4774, allocations: 325.2 kB / 464.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.4774, allocations: 4 kB / 464.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002474/0.4799, allocations: 0.6331 MB / 465.3 MB, free: 11.44 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.0002781/0.4802, allocations: 148.7 kB / 465.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004912/0.4851, allocations: 3.008 MB / 468.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4851, allocations: 0 / 468.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.486, allocations: 0.521 MB / 469 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.4866, allocations: 91.05 kB / 469.1 MB, free: 8.133 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.003061/0.4896, allocations: 2.3 MB / 471.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.49, allocations: 0.9512 MB / 472.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004212/0.4904, allocations: 80.89 kB / 472.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4906, allocations: 43.42 kB / 472.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4906, allocations: 0 / 472.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of Templates: time 0.03019/0.5208, allocations: 18.22 MB / 490.7 MB, free: 2.512 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe 2>&1) Environment - environmentSimulation: