Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001108/0.001108, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07629/0.07629, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 62.34 kB / 372.4 MB, free: 49.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 53.57 MB / 426 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.007899/0.114, allocations: 10.76 MB / 436.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00601/0.1201, allocations: 3.753 MB / 440.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.1213, allocations: 23.88 kB / 440.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.1225, allocations: 314.2 kB / 440.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.1251, allocations: 1.165 MB / 442 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.1258, allocations: 277.7 kB / 442.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.1273, allocations: 1.16 MB / 443.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.1277, allocations: 213.8 kB / 443.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.1282, allocations: 410.4 kB / 444 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.1287, allocations: 430.2 kB / 444.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.1288, allocations: 44 kB / 444.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005956/0.1294, allocations: 259.8 kB / 444.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1295, allocations: 119.4 kB / 444.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.1299, allocations: 382 kB / 445.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.1309, allocations: 0.9436 MB / 446.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.131, allocations: 0 / 446.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.131, allocations: 4 kB / 446.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.131, allocations: 0 / 446.2 MB, free: 8.484 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002678/0.1337, allocations: 1.145 MB / 447.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1337, allocations: 12.03 kB / 447.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.1341, allocations: 96.08 kB / 447.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.1349, allocations: 0.5358 MB / 448 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.135, allocations: 37.38 kB / 448 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.1351, allocations: 48.38 kB / 448.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.1358, allocations: 0.522 MB / 448.6 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1358, allocations: 3.938 kB / 448.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.1358, allocations: 20 kB / 448.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1359, allocations: 8 kB / 448.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.1365, allocations: 379.5 kB / 449 MB, free: 5.527 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 preOpt removeSimpleEquations (simulation): time 0.003954/0.1404, allocations: 3.891 MB / 452.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.1411, allocations: 0.6341 MB / 453.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1414, allocations: 148.9 kB / 453.7 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.1414, allocations: 7.938 kB / 453.7 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1415, allocations: 34.56 kB / 453.7 MB, free: 408 kB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.1415, allocations: 0 / 453.7 MB, free: 408 kB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.002313/0.1438, allocations: 0.8233 MB / 454.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1438, allocations: 55.41 kB / 454.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.1445, allocations: 0.5379 MB / 455.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.1445, allocations: 45.64 kB / 455.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.1447, allocations: 304.4 kB / 455.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1449, allocations: 145.9 kB / 455.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1451, allocations: 138.5 kB / 455.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1452, allocations: 366.8 kB / 456.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.1455, allocations: 161.9 kB / 456.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.1459, allocations: 389 kB / 456.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.1466, allocations: 0.5539 MB / 457.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1466, allocations: 4 kB / 457.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001564/0.1482, allocations: 0.7896 MB / 458 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1482, allocations: 11.98 kB / 458 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1483, allocations: 8 kB / 458 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.1504, allocations: 386.3 kB / 458.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.1509, allocations: 139.8 kB / 458.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.1563, allocations: 5.217 MB / 463.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.1571, allocations: 80.23 kB / 463.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.1571, allocations: 32 kB / 463.8 MB, free: 5.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.1574, allocations: 206.2 kB / 464 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1575, allocations: 63.23 kB / 464.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.1586, allocations: 0.4886 MB / 464.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.1586, allocations: 8.031 kB / 464.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.1586, allocations: 3.984 kB / 464.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.1588, allocations: 180.2 kB / 464.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.1589, allocations: 4 kB / 464.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.1593, allocations: 23.98 kB / 464.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1593, allocations: 31.94 kB / 464.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001142/0.1605, allocations: 0.5327 MB / 465.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008291/0.1613, allocations: 0.6717 MB / 466 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002174/0.1616, allocations: 140.6 kB / 466.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004021/0.162, allocations: 366.8 kB / 466.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of Backend: time 6.61e-07/0.162, allocations: 0 / 466.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.1642, allocations: 1.002 MB / 467.5 MB, free: 1.707 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.002588/0.1668, allocations: 2.37 MB / 469.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01624/0.183, allocations: 12.18 MB / 482.1 MB, free: 3.125 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)