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.00709/0.00709, allocations: 98.83 kB / 15.73 MB, free: 6.031 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.001799/0.0018, allocations: 194.1 kB / 16.67 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08209/0.08209, allocations: 16.68 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.89 kB / 426.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09172, allocations: 53.55 MB / 480 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.01336/0.1051, allocations: 10.76 MB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007347/0.1125, allocations: 3.757 MB / 494.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.1137, allocations: 19.88 kB / 494.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.1149, allocations: 306.3 kB / 494.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.1177, allocations: 1.162 MB / 496 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.1185, allocations: 280.6 kB / 496.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1202, allocations: 1.171 MB / 497.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.1207, allocations: 217.8 kB / 497.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006239/0.1213, allocations: 406.4 kB / 498.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.1219, allocations: 426.2 kB / 498.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.122, allocations: 48 kB / 498.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.1227, allocations: 255.8 kB / 498.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1228, allocations: 127.3 kB / 498.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.1232, allocations: 366.1 kB / 499.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.1246, allocations: 0.965 MB / 0.4885 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1246, allocations: 0 / 0.4885 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1246, allocations: 0 / 0.4885 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.1246, allocations: 3.938 kB / 0.4885 GB, free: 0.7734 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.003005/0.1276, allocations: 1.164 MB / 0.4897 GB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1277, allocations: 12.03 kB / 0.4897 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.1281, allocations: 100.4 kB / 0.4898 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1292, allocations: 0.5597 MB / 0.4903 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.1292, allocations: 29.38 kB / 0.4903 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/0.1293, allocations: 60.27 kB / 0.4904 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.1301, allocations: 0.522 MB / 0.4909 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1302, allocations: 4 kB / 0.4909 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1302, allocations: 20 kB / 0.4909 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1302, allocations: 15.94 kB / 0.491 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.1309, allocations: 375.5 kB / 0.4913 GB, free: 13.76 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.00452/0.1354, allocations: 3.872 MB / 0.4951 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.1362, allocations: 0.6279 MB / 0.4957 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.1365, allocations: 152.8 kB / 0.4959 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.1366, allocations: 12 kB / 0.4959 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1366, allocations: 30.56 kB / 0.4959 GB, free: 8.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.1366, allocations: 0 / 0.4959 GB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.00252/0.1391, allocations: 0.8237 MB / 0.4967 GB, free: 7.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1392, allocations: 59.41 kB / 0.4968 GB, free: 7.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.1399, allocations: 0.538 MB / 0.4973 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1399, allocations: 33.7 kB / 0.4973 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.1402, allocations: 309 kB / 0.4976 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1403, allocations: 162.6 kB / 0.4978 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.1405, allocations: 134.6 kB / 0.4979 GB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1407, allocations: 370.8 kB / 0.4982 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.141, allocations: 165.9 kB / 0.4984 GB, free: 6.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.1416, allocations: 389 kB / 0.4988 GB, free: 5.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.1425, allocations: 0.5656 MB / 0.4993 GB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1425, allocations: 4 kB / 0.4993 GB, free: 4.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001742/0.1443, allocations: 0.7978 MB / 0.5001 GB, free: 4.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1443, allocations: 8 kB / 0.5001 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1443, allocations: 4 kB / 0.5001 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.1466, allocations: 386.4 kB / 0.5005 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.1471, allocations: 143.8 kB / 0.5006 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1936/0.3408, allocations: 5.186 MB / 0.5057 GB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.3416, allocations: 74.91 kB / 0.5058 GB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.3416, allocations: 37.53 kB / 0.5058 GB, free: 33.1 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.0002432/0.3419, allocations: 200.2 kB / 0.506 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.342, allocations: 60.48 kB / 0.506 GB, free: 32.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3431, allocations: 0.5038 MB / 0.5065 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.3431, allocations: 2.578 kB / 0.5065 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3431, allocations: 0.9375 kB / 0.5065 GB, free: 32.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.3433, allocations: 184.1 kB / 0.5067 GB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.3434, allocations: 6.25 kB / 0.5067 GB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.3438, allocations: 22.58 kB / 0.5067 GB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.3439, allocations: 38.56 kB / 0.5068 GB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001113/0.345, allocations: 0.5301 MB / 0.5073 GB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007918/0.3458, allocations: 0.6843 MB / 0.508 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002069/0.346, allocations: 131.2 kB / 0.5081 GB, free: 32.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.3464, allocations: 367.3 kB / 0.5084 GB, free: 32.31 MB / 382.1 MB Notification: Performance of Backend: time 7.41e-07/0.3464, allocations: 0 / 0.5084 GB, free: 32.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.3484, allocations: 1.026 MB / 0.5094 GB, free: 31.74 MB / 382.1 MB Notification: Performance of SimCode: time 0.001741/0.3502, allocations: 1.673 MB / 0.5111 GB, free: 30.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01801/0.3682, allocations: 9.896 MB / 0.5207 GB, free: 28.36 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)