Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 99.16 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.001063/0.001063, allocations: 177.3 kB / 15.94 MB, free: 220 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.403/1.403, 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.06259/0.06259, allocations: 14.16 MB / 284.5 MB, free: 7.152 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.0005019/0.0005019, allocations: 12 kB / 347.5 MB, free: 18.6 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08595, allocations: 51.12 MB / 398.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.004967/0.09096, allocations: 4.588 MB / 403.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.09547, allocations: 2.713 MB / 405.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.0961, allocations: 4 kB / 405.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.0968, allocations: 214.8 kB / 406.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.09932, allocations: 1.035 MB / 407.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.1001, allocations: 378.5 kB / 407.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.1018, allocations: 0.952 MB / 408.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.102, allocations: 77.75 kB / 408.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.1027, allocations: 426.6 kB / 408.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.1034, allocations: 470.3 kB / 409.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.1036, allocations: 36 kB / 409.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.1043, allocations: 259.7 kB / 409.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.1045, allocations: 135.4 kB / 409.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.1047, allocations: 161.3 kB / 410 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1058, allocations: 0.8185 MB / 410.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1058, allocations: 0 / 410.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1059, allocations: 0 / 410.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.028e-05/0.1059, allocations: 0 / 410.8 MB, free: 3.156 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.003661/0.1096, allocations: 1.231 MB / 412 MB, free: 1.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1096, allocations: 8.031 kB / 412 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1107, allocations: 151 kB / 412.2 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1119, allocations: 0.5312 MB / 412.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.112, allocations: 48.98 kB / 412.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.1121, allocations: 63.91 kB / 412.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008627/0.113, allocations: 470.1 kB / 413.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.113, allocations: 4 kB / 413.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.1131, allocations: 24 kB / 413.3 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1131, allocations: 11.98 kB / 413.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008834/0.114, 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.005275/0.1193, allocations: 2.907 MB / 416.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1206, allocations: 0.7725 MB / 417.5 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.1206, allocations: 12.55 kB / 417.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1207, allocations: 35.12 kB / 417.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.856e-06/0.1207, allocations: 0 / 417.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005294/0.126, allocations: 2.051 MB / 419.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1261, allocations: 59.97 kB / 419.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.1267, allocations: 0.4948 MB / 420.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.1268, allocations: 41.7 kB / 420.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.127, allocations: 261.2 kB / 420.4 MB, free: 8.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.1272, allocations: 224.7 kB / 420.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.1273, allocations: 20 kB / 420.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1275, allocations: 374.8 kB / 421 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.1281, allocations: 353.8 kB / 421.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007037/0.1288, allocations: 429.4 kB / 421.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.1296, allocations: 406.9 kB / 422.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1296, allocations: 3.938 kB / 422.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01174/0.1413, allocations: 1.901 MB / 424.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1415, allocations: 283 kB / 424.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1415, allocations: 3.984 kB / 424.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/0.1561, allocations: 1.432 MB / 425.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.1571, allocations: 203.7 kB / 426 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1747/0.3318, allocations: 10.32 MB / 436.3 MB, free: 24.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.3326, allocations: 32.88 kB / 436.4 MB, free: 24.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.3328, allocations: 35.94 kB / 436.4 MB, free: 24.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3328, allocations: 6.578 kB / 436.4 MB, free: 24.81 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/0.336, allocations: 1.203 MB / 437.6 MB, free: 24.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.336, allocations: 1.062 kB / 437.6 MB, free: 24.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.3387, allocations: 0.5896 MB / 438.2 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3397, allocations: 225.3 kB / 438.4 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.3486, allocations: 10.63 MB / 449.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.3493, allocations: 32.47 kB / 449.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.883e-05/0.3494, allocations: 32.23 kB / 449.1 MB, free: 15.66 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.0004241/0.3499, allocations: 278 kB / 449.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3501, allocations: 65.75 kB / 449.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.3519, allocations: 0.7804 MB / 450.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.352, allocations: 8.094 kB / 450.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.352, allocations: 2.562 kB / 450.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.352, allocations: 3.906 kB / 450.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.3548, allocations: 1.571 MB / 451.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3548, allocations: 0 / 451.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.3554, allocations: 135.1 kB / 452 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000924/0.3564, allocations: 278.9 kB / 452.2 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.3564, allocations: 12.22 kB / 452.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.3596, allocations: 2.439 MB / 454.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3596, allocations: 2.516 kB / 454.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.3617, allocations: 1.124 MB / 455.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.362, allocations: 187.5 kB / 456 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3621, allocations: 15.28 kB / 456 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.3626, allocations: 22.52 kB / 456 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3627, allocations: 46.81 kB / 456.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3627, allocations: 14.03 kB / 456.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003777/0.3631, allocations: 333.5 kB / 456.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3631, allocations: 0 / 456.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001868/0.365, allocations: 468.2 kB / 456.9 MB, free: 12.02 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.0003256/0.3653, allocations: 164.7 kB / 457 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005246/0.3706, allocations: 3.007 MB / 460 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3706, allocations: 0 / 460 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009557/0.3716, allocations: 0.528 MB / 460.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.3721, allocations: 83.17 kB / 460.6 MB, free: 9.641 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.002383/0.3745, allocations: 1.607 MB / 462.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3749, allocations: 0.9255 MB / 463.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.3753, allocations: 81.64 kB / 463.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3755, allocations: 46.66 kB / 463.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3755, allocations: 3.938 kB / 463.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of Templates: time 0.02813/0.4036, allocations: 16.33 MB / 479.6 MB, free: 9.492 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe 2>&1) Environment - environmentSimulation: