Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 182.9 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.376/1.376, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.001004/0.001004, allocations: 100 kB / 269.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05899/0.05899, allocations: 14.17 MB / 330.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001113, allocations: 51.92 kB / 393 MB, free: 63.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1169, allocations: 50.14 MB / 443.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.005112/0.1221, allocations: 5.622 MB / 448.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.1263, allocations: 2.96 MB / 451.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.1269, allocations: 7.938 kB / 451.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.1277, allocations: 234.9 kB / 452 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.13, allocations: 1.151 MB / 453.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.1308, allocations: 442.7 kB / 453.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1322, allocations: 1.425 MB / 455 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.1324, allocations: 82.03 kB / 455 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.133, allocations: 422.2 kB / 455.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.1334, allocations: 489.9 kB / 455.9 MB, free: 0.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.1335, allocations: 40 kB / 456 MB, free: 472 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.1341, allocations: 263.8 kB / 456.2 MB, free: 208 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.719e-05/0.1343, allocations: 143.3 kB / 456.4 MB, free: 64 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.1347, allocations: 402 kB / 456.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.1358, allocations: 1.094 MB / 457.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1358, allocations: 0 / 457.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1359, allocations: 0 / 457.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1359, allocations: 0 / 457.9 MB, free: 14.57 MB / 314.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.003551/0.1394, allocations: 1.337 MB / 459.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1395, allocations: 12.03 kB / 459.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.1399, allocations: 104 kB / 459.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.1407, allocations: 0.5323 MB / 459.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1408, allocations: 45.38 kB / 459.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1409, allocations: 72.02 kB / 460 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.1416, allocations: 478.1 kB / 460.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1417, allocations: 3.938 kB / 460.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.1417, allocations: 20 kB / 460.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1417, allocations: 11.98 kB / 460.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.1426, allocations: 491.7 kB / 460.9 MB, free: 11.39 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.004954/0.1476, allocations: 2.864 MB / 463.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.149, allocations: 0.7742 MB / 464.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.1494, allocations: 230.6 kB / 464.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.247e-05/0.1495, allocations: 20.42 kB / 464.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1495, allocations: 35.12 kB / 464.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 3.907e-06/0.1495, allocations: 0 / 464.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.00601/0.1556, allocations: 2.039 MB / 466.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1556, allocations: 55.97 kB / 466.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.1563, allocations: 0.5103 MB / 467.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.1564, allocations: 41.7 kB / 467.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1566, allocations: 261.1 kB / 467.8 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1568, allocations: 228.7 kB / 468 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.157, allocations: 178.5 kB / 468.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1572, allocations: 374.8 kB / 468.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.1578, allocations: 344.7 kB / 468.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.1584, allocations: 421.4 kB / 469.3 MB, free: 2.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.1595, allocations: 0.6592 MB / 469.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1595, allocations: 0 / 469.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005222/0.1648, allocations: 1.609 MB / 471.5 MB, free: 248 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.1648, allocations: 7.984 kB / 471.5 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1648, allocations: 8 kB / 471.5 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/0.1694, allocations: 0.8859 MB / 472.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/0.1704, allocations: 199.8 kB / 472.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.1837, allocations: 9.405 MB / 482 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.1845, allocations: 35.98 kB / 482.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.1846, allocations: 31.98 kB / 482.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007695/0.1854, allocations: 466 kB / 482.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005712/0.186, allocations: 393.4 kB / 482.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001021/0.187, allocations: 0.6474 MB / 483.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.187, allocations: 0 / 483.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.003292/0.1903, allocations: 1.275 MB / 484.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1903, allocations: 7.984 kB / 484.9 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1903, allocations: 0 / 484.9 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.193, allocations: 0.6028 MB / 485.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.194, allocations: 219.8 kB / 485.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1897/0.3837, allocations: 10.59 MB / 496.3 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/0.3845, allocations: 33.86 kB / 496.3 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.3845, allocations: 29.45 kB / 496.3 MB, free: 40.47 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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 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), (3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.3847, allocations: 223.3 kB / 496.6 MB, free: 40.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3849, allocations: 66.84 kB / 496.6 MB, free: 40.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.3865, allocations: 0.7714 MB / 497.4 MB, free: 39.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3865, allocations: 6.5 kB / 497.4 MB, free: 39.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3866, allocations: 3.938 kB / 497.4 MB, free: 39.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3866, allocations: 2.719 kB / 497.4 MB, free: 39.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.3893, allocations: 1.554 MB / 499 MB, free: 39.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3893, allocations: 0 / 499 MB, free: 39.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.39, allocations: 138.6 kB / 499.1 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/0.391, allocations: 245.9 kB / 499.3 MB, free: 39.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.391, allocations: 14.41 kB / 499.3 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.3943, allocations: 2.389 MB / 0.49 GB, free: 37.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3944, allocations: 1.281 kB / 0.49 GB, free: 37.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.4079, allocations: 8.107 MB / 0.4979 GB, free: 32.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.4082, allocations: 180.2 kB / 0.4981 GB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.4083, allocations: 12.03 kB / 0.4981 GB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.4087, allocations: 28.94 kB / 0.4981 GB, free: 32.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4088, allocations: 49.77 kB / 0.4982 GB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.4089, allocations: 17.78 kB / 0.4982 GB, free: 32.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003868/0.4093, allocations: 334.9 kB / 0.4985 GB, free: 32.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4093, allocations: 0 / 0.4985 GB, free: 32.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001948/0.4112, allocations: 0.6203 MB / 0.4991 GB, free: 31.98 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.0002605/0.4115, allocations: 153.8 kB / 0.4992 GB, free: 31.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004713/0.4162, allocations: 3.025 MB / 0.5022 GB, free: 29.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4162, allocations: 3.031 kB / 0.5022 GB, free: 29.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009784/0.4172, allocations: 0.514 MB / 0.5027 GB, free: 29.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.4179, allocations: 91.8 kB / 0.5028 GB, free: 29.61 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.00343/0.4213, allocations: 2.322 MB / 0.5051 GB, free: 28.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.4218, allocations: 0.9364 MB / 0.506 GB, free: 27.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004658/0.4223, allocations: 91.56 kB / 0.5061 GB, free: 27.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.4224, allocations: 40.38 kB / 0.5061 GB, free: 27.33 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4224, allocations: 0 / 0.5061 GB, free: 27.33 MB / 330.7 MB Notification: Performance of Templates: time 0.02431/0.4467, allocations: 18.04 MB / 0.5237 GB, free: 11.14 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe 2>&1)