Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.0009085/0.0009085, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001094/0.001094, allocations: 177.3 kB / 15.95 MB, free: 216 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.334/1.334, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06138/0.06138, allocations: 14.17 MB / 284.5 MB, free: 7.141 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.0004728/0.0004729, allocations: 20 kB / 347.5 MB, free: 18.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0803/0.08078, allocations: 51.11 MB / 398.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.004604/0.08542, allocations: 4.584 MB / 403.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.08942, allocations: 2.713 MB / 405.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.08989, allocations: 8 kB / 405.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.09049, allocations: 206.8 kB / 406.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.09271, allocations: 1.032 MB / 407.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.09347, allocations: 379 kB / 407.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.09463, allocations: 0.9633 MB / 408.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.09481, allocations: 77.73 kB / 408.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.09526, allocations: 426.6 kB / 408.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.09579, allocations: 470.4 kB / 409.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.09587, allocations: 36 kB / 409.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.09639, allocations: 263.7 kB / 409.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.0965, allocations: 131.5 kB / 409.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.09665, allocations: 165.3 kB / 410 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.09741, allocations: 0.8029 MB / 410.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.09742, allocations: 0 / 410.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09743, allocations: 0 / 410.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.09744, allocations: 0 / 410.8 MB, free: 3.16 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.003054/0.1005, allocations: 1.231 MB / 412 MB, free: 1.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1005, allocations: 15.95 kB / 412 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.1015, allocations: 159 kB / 412.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.1023, allocations: 0.5234 MB / 412.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.1024, allocations: 41 kB / 412.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.1025, allocations: 63.91 kB / 412.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.1032, allocations: 478.1 kB / 413.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1032, allocations: 0 / 413.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.1033, allocations: 20 kB / 413.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1033, allocations: 15.98 kB / 413.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.1041, allocations: 495.7 kB / 413.8 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.004795/0.1089, allocations: 2.907 MB / 416.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.1102, allocations: 0.7729 MB / 417.5 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.1102, allocations: 4.562 kB / 417.5 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1102, allocations: 43.06 kB / 417.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.954e-06/0.1103, allocations: 0 / 417.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004898/0.1152, allocations: 2.047 MB / 419.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1152, allocations: 55.97 kB / 419.6 MB, free: 9.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1157, allocations: 0.4948 MB / 420.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.1158, allocations: 45.7 kB / 420.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.116, allocations: 253.2 kB / 420.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1162, allocations: 224.7 kB / 420.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1163, allocations: 24 kB / 420.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1164, allocations: 378.8 kB / 421 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.117, allocations: 353.8 kB / 421.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.1177, allocations: 425.4 kB / 421.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.1184, allocations: 402.9 kB / 422.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1184, allocations: 4 kB / 422.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01134/0.1297, allocations: 1.901 MB / 424.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1299, allocations: 282.9 kB / 424.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1299, allocations: 8.062 kB / 424.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/0.144, allocations: 1.44 MB / 425.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/0.1449, allocations: 215.7 kB / 426 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1633/0.3082, allocations: 10.31 MB / 436.3 MB, free: 24.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.309, allocations: 38.53 kB / 436.4 MB, free: 24.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3091, allocations: 35.59 kB / 436.4 MB, free: 24.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3091, allocations: 8.391 kB / 436.4 MB, free: 24.23 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002948/0.3121, allocations: 1.198 MB / 437.6 MB, free: 24.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3121, allocations: 1.375 kB / 437.6 MB, free: 24.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/0.3146, allocations: 0.6016 MB / 438.2 MB, free: 24.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.3155, allocations: 223.7 kB / 438.4 MB, free: 24.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/0.3237, allocations: 10.65 MB / 449.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.3244, allocations: 27.64 kB / 449.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.3244, allocations: 31.53 kB / 449.1 MB, free: 15.07 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.0003301/0.3248, allocations: 279.7 kB / 449.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.3249, allocations: 66.06 kB / 449.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.3265, allocations: 0.7838 MB / 450.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.3266, allocations: 7.125 kB / 450.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3266, allocations: 3.094 kB / 450.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3266, allocations: 3.094 kB / 450.3 MB, free: 14.77 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.00231/0.3289, allocations: 1.562 MB / 451.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3289, allocations: 5.219 kB / 451.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.3296, allocations: 133.8 kB / 452 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008536/0.3305, allocations: 273.4 kB / 452.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.3305, allocations: 18.44 kB / 452.3 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.3334, allocations: 2.439 MB / 454.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3334, allocations: 6.406 kB / 454.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.3352, allocations: 1.128 MB / 455.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3354, allocations: 181.8 kB / 456 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.3355, allocations: 14.03 kB / 456 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.3359, allocations: 23.5 kB / 456.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.336, allocations: 46.42 kB / 456.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.336, allocations: 15 kB / 456.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.3363, allocations: 330.1 kB / 456.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 4 kB / 456.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001513/0.3379, allocations: 467.6 kB / 456.9 MB, free: 11.7 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.0002407/0.3381, allocations: 154.8 kB / 457 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004711/0.3428, allocations: 3.009 MB / 460.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3429, allocations: 0.9688 kB / 460.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.3437, allocations: 0.5247 MB / 460.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3442, allocations: 78.39 kB / 460.7 MB, free: 9.34 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.001833/0.346, allocations: 1.609 MB / 462.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3463, allocations: 0.9307 MB / 463.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.3467, allocations: 88.94 kB / 463.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3468, allocations: 38.12 kB / 463.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3468, allocations: 0 / 463.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of Templates: time 0.02266/0.3695, allocations: 16.28 MB / 479.6 MB, free: 9.316 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe 2>&1) Environment - environmentSimulation: