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.005243/0.005243, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001373/0.001373, allocations: 191.2 kB / 16.67 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08274/0.08274, allocations: 16.69 MB / 307.2 MB, free: 14.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.00189, allocations: 67.89 kB / 426.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09785, allocations: 53.54 MB / 480 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.01265/0.1105, allocations: 10.76 MB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.1171, allocations: 3.749 MB / 494.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.1181, allocations: 23.88 kB / 494.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.1194, allocations: 314.2 kB / 494.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.1223, allocations: 1.171 MB / 496 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.1232, allocations: 277 kB / 496.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.1249, allocations: 1.167 MB / 497.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.1254, allocations: 217.8 kB / 497.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.126, allocations: 414.4 kB / 498.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.1266, allocations: 426.2 kB / 498.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.839e-05/0.1267, allocations: 48 kB / 498.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.1274, allocations: 247.8 kB / 498.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1275, allocations: 127.3 kB / 498.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.128, allocations: 378.1 kB / 499.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.1294, allocations: 0.965 MB / 0.4885 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1295, allocations: 0 / 0.4885 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1295, allocations: 0 / 0.4885 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1295, allocations: 0 / 0.4885 GB, free: 0.7852 MB / 366.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.003043/0.1325, allocations: 1.16 MB / 0.4897 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1326, allocations: 12.03 kB / 0.4897 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.133, allocations: 104.4 kB / 0.4898 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.134, allocations: 0.5441 MB / 0.4903 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.1341, allocations: 37.38 kB / 0.4903 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.1342, allocations: 56.27 kB / 0.4904 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.135, allocations: 0.5298 MB / 0.4909 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1351, allocations: 3.938 kB / 0.4909 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.1351, allocations: 24 kB / 0.4909 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.1351, allocations: 15.98 kB / 0.491 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.1358, allocations: 367.5 kB / 0.4913 GB, free: 13.78 MB / 382.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.004306/0.1401, allocations: 3.872 MB / 0.4951 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.1409, allocations: 0.6357 MB / 0.4957 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.1412, allocations: 144.8 kB / 0.4959 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.1413, allocations: 8.922 kB / 0.4959 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1413, allocations: 38.56 kB / 0.4959 GB, free: 8.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.665e-06/0.1413, allocations: 192 / 0.4959 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002503/0.1438, allocations: 0.8228 MB / 0.4967 GB, free: 7.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1439, allocations: 67.28 kB / 0.4968 GB, free: 7.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/0.1446, allocations: 0.5341 MB / 0.4973 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.1447, allocations: 37.7 kB / 0.4973 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.1449, allocations: 301 kB / 0.4976 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.1451, allocations: 158.6 kB / 0.4978 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.1453, allocations: 142.6 kB / 0.4979 GB, free: 6.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1455, allocations: 362.8 kB / 0.4982 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1458, allocations: 169.9 kB / 0.4984 GB, free: 6.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.1463, allocations: 385 kB / 0.4988 GB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.1471, allocations: 0.5657 MB / 0.4993 GB, free: 4.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1471, allocations: 0 / 0.4993 GB, free: 4.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001737/0.1489, allocations: 0.7973 MB / 0.5001 GB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1489, allocations: 8 kB / 0.5001 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1489, allocations: 8 kB / 0.5001 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.1512, allocations: 394.6 kB / 0.5005 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.1517, allocations: 135.8 kB / 0.5006 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2/0.3517, allocations: 5.189 MB / 0.5057 GB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.3526, allocations: 73.17 kB / 0.5058 GB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.3527, allocations: 31.36 kB / 0.5058 GB, free: 33.29 MB / 382.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.0003022/0.353, allocations: 202.7 kB / 0.506 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3531, allocations: 63.78 kB / 0.506 GB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.3542, allocations: 0.5056 MB / 0.5065 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3542, allocations: 2.25 kB / 0.5065 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3543, allocations: 4.438 kB / 0.5065 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3545, allocations: 178.6 kB / 0.5067 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.3545, allocations: 8.969 kB / 0.5067 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.3549, allocations: 23.3 kB / 0.5067 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.355, allocations: 34.36 kB / 0.5068 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00114/0.3561, allocations: 0.5316 MB / 0.5073 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008438/0.357, allocations: 0.6842 MB / 0.508 GB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002197/0.3572, allocations: 134.6 kB / 0.5081 GB, free: 32.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000505/0.3578, allocations: 368.5 kB / 0.5084 GB, free: 32.5 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.3578, allocations: 0 / 0.5084 GB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.3599, allocations: 1.021 MB / 0.5094 GB, free: 31.94 MB / 382.1 MB Notification: Performance of SimCode: time 0.001821/0.3618, allocations: 1.675 MB / 0.5111 GB, free: 30.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01846/0.3802, allocations: 9.886 MB / 0.5207 GB, free: 28.57 MB / 382.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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)