Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001585, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 221.8 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 98.28 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09067/0.09067, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 59.86 kB / 391.6 MB, free: 64.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08744, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.006826/0.09431, allocations: 5.618 MB / 447.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.09958, allocations: 2.96 MB / 450.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.1002, allocations: 11.94 kB / 450.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.1013, allocations: 234.9 kB / 450.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.1049, allocations: 1.139 MB / 451.7 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.1062, allocations: 446.4 kB / 452.2 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.1081, allocations: 1.402 MB / 453.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.1084, allocations: 77.75 kB / 453.7 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006822/0.1091, allocations: 418.2 kB / 454.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.1098, allocations: 477.9 kB / 454.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.11, allocations: 40 kB / 454.6 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008154/0.1108, allocations: 259.8 kB / 454.8 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.111, allocations: 139.3 kB / 455 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.1114, allocations: 393.9 kB / 455.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1127, allocations: 1.071 MB / 456.4 MB, free: 16 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1127, allocations: 4 kB / 456.4 MB, free: 12 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1128, allocations: 0 / 456.4 MB, free: 12 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.1128, allocations: 0 / 456.4 MB, free: 12 kB / 298.7 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.005529/0.1183, allocations: 1.329 MB / 457.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1184, allocations: 12.03 kB / 457.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.1191, allocations: 108 kB / 457.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.1204, allocations: 0.5284 MB / 458.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.1205, allocations: 41.38 kB / 458.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1207, allocations: 72.03 kB / 458.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1219, allocations: 486 kB / 459 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.122, allocations: 0 / 459 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.122, allocations: 16 kB / 459 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1221, allocations: 12 kB / 459 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.1235, allocations: 495.7 kB / 459.5 MB, free: 12.84 MB / 314.7 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.006833/0.1303, allocations: 2.852 MB / 462.3 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.1323, allocations: 0.7742 MB / 463.1 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.1329, allocations: 234.5 kB / 463.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.008e-05/0.133, allocations: 8.562 kB / 463.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1331, allocations: 47.05 kB / 463.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.995e-06/0.1331, allocations: 0 / 463.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.008084/0.1412, allocations: 2.039 MB / 465.4 MB, free: 6.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1413, allocations: 55.97 kB / 465.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.1421, allocations: 0.5026 MB / 466 MB, free: 5.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.1422, allocations: 41.7 kB / 466 MB, free: 5.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.1425, allocations: 265.2 kB / 466.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.1428, allocations: 224.7 kB / 466.5 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.1432, allocations: 174.5 kB / 466.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1434, allocations: 378.8 kB / 467.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000901/0.1443, allocations: 317.9 kB / 467.4 MB, free: 4.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/0.1453, allocations: 401.3 kB / 467.8 MB, free: 4.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.147, allocations: 0.6396 MB / 468.4 MB, free: 3.406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.147, allocations: 0 / 468.4 MB, free: 3.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004977/0.152, allocations: 1.275 MB / 469.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.152, allocations: 8 kB / 469.7 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1521, allocations: 0 / 469.7 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/0.1561, allocations: 0.5989 MB / 470.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.1577, allocations: 223.7 kB / 470.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/0.173, allocations: 10.6 MB / 481.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1741, allocations: 31.83 kB / 481.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.1742, allocations: 35.98 kB / 481.2 MB, free: 5.656 MB / 330.7 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 (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004473/0.1747, allocations: 209.5 kB / 481.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.1749, allocations: 63.25 kB / 481.4 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.1775, allocations: 0.7791 MB / 482.2 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1775, allocations: 4 kB / 482.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1775, allocations: 4 kB / 482.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1776, allocations: 3.984 kB / 482.2 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.1815, allocations: 1.56 MB / 483.8 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1815, allocations: 0 / 483.8 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.1826, allocations: 131.8 kB / 483.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.184, allocations: 246.6 kB / 484.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.1841, allocations: 12 kB / 484.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/0.1893, allocations: 2.385 MB / 486.5 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1893, allocations: 3.984 kB / 486.5 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2164/0.4057, allocations: 8.094 MB / 494.6 MB, free: 45.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.406, allocations: 182.4 kB / 494.8 MB, free: 44.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.406, allocations: 22.97 kB / 494.8 MB, free: 44.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.4065, allocations: 19.92 kB / 494.9 MB, free: 44.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4066, allocations: 51.38 kB / 494.9 MB, free: 44.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.4067, allocations: 16.3 kB / 494.9 MB, free: 44.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003891/0.4071, allocations: 333.9 kB / 495.3 MB, free: 44.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4071, allocations: 3.828 kB / 495.3 MB, free: 44.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001163/0.4083, allocations: 351.5 kB / 495.6 MB, free: 44.73 MB / 330.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.4085, allocations: 145.5 kB / 495.7 MB, free: 44.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.411, allocations: 1.677 MB / 497.4 MB, free: 43.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.411, allocations: 0 / 497.4 MB, free: 43.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.412, allocations: 0.5198 MB / 497.9 MB, free: 43.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.4125, allocations: 85.56 kB / 498 MB, free: 43.21 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.4158, allocations: 2.288 MB / 0.4886 GB, free: 41.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4162, allocations: 0.923 MB / 0.4895 GB, free: 41.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.4165, allocations: 71.06 kB / 0.4896 GB, free: 41.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.4167, allocations: 44.33 kB / 0.4896 GB, free: 41.05 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4167, allocations: 0 / 0.4896 GB, free: 41.05 MB / 330.7 MB Notification: Performance of Templates: time 0.01846/0.4351, allocations: 12.59 MB / 0.5019 GB, free: 34.59 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1)