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.001278/0.001278, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001246/0.001246, allocations: 191 kB / 17.29 MB, free: 5.516 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07741/0.07741, allocations: 16.75 MB / 307.9 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.73 kB / 373.2 MB, free: 48.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08275, allocations: 53.57 MB / 426.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.007332/0.0901, allocations: 10.66 MB / 437.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005622/0.09575, allocations: 3.729 MB / 441.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.09697, allocations: 23.88 kB / 441.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.09821, allocations: 318.1 kB / 441.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.1009, allocations: 1.162 MB / 442.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.1018, allocations: 275.5 kB / 442.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1033, allocations: 1.167 MB / 444.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.1037, allocations: 201.8 kB / 444.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.1042, allocations: 414.3 kB / 444.7 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.1048, allocations: 434.2 kB / 445.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-05/0.105, allocations: 44 kB / 445.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005318/0.1055, allocations: 247.8 kB / 445.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1056, allocations: 131.3 kB / 445.5 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.106, allocations: 374.1 kB / 445.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1072, allocations: 0.9578 MB / 446.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1072, allocations: 0 / 446.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1072, allocations: 0 / 446.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.1072, allocations: 0 / 446.8 MB, free: 7.75 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.002846/0.1101, allocations: 1.153 MB / 448 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1101, allocations: 8.031 kB / 448 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.1105, allocations: 92.08 kB / 448.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1116, allocations: 0.5553 MB / 448.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.1116, allocations: 37.38 kB / 448.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.1117, allocations: 48.38 kB / 448.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1124, allocations: 0.5197 MB / 449.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1125, allocations: 4 kB / 449.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.1125, allocations: 16 kB / 449.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1125, allocations: 15.98 kB / 449.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.1131, allocations: 379.5 kB / 449.6 MB, free: 4.773 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.003808/0.1169, allocations: 3.872 MB / 453.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.1177, allocations: 0.6357 MB / 454.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.1179, allocations: 144.8 kB / 454.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.118, allocations: 4.938 kB / 454.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.118, allocations: 46.48 kB / 454.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.118, allocations: 0 / 454.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002312/0.1203, allocations: 0.8224 MB / 455.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1204, allocations: 55.41 kB / 455.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.121, allocations: 0.5379 MB / 455.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.121, allocations: 33.7 kB / 455.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1213, allocations: 300.4 kB / 456.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.1214, allocations: 145.9 kB / 456.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1216, allocations: 142.5 kB / 456.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1217, allocations: 370.8 kB / 456.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.122, allocations: 165.9 kB / 456.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.1224, allocations: 385 kB / 457.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.1232, allocations: 0.5578 MB / 457.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.1232, allocations: 8 kB / 457.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001641/0.1248, allocations: 0.7932 MB / 458.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1249, allocations: 10.97 kB / 458.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1249, allocations: 8 kB / 458.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.1272, allocations: 394.2 kB / 459 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.1277, allocations: 135.8 kB / 459.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.1333, allocations: 5.207 MB / 464.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.1339, allocations: 78.64 kB / 464.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.134, allocations: 32.03 kB / 464.5 MB, free: 4.781 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.0002567/0.1343, allocations: 201.6 kB / 464.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1344, allocations: 63.25 kB / 464.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1354, allocations: 0.4964 MB / 465.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1355, allocations: 0 / 465.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1355, allocations: 0 / 465.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.1357, allocations: 180.8 kB / 465.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.1358, allocations: 16 kB / 465.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.1362, allocations: 19.92 kB / 465.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.1363, allocations: 35.94 kB / 465.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001152/0.1375, allocations: 0.5327 MB / 466 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008354/0.1383, allocations: 0.6757 MB / 466.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002253/0.1385, allocations: 144.4 kB / 466.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.139, allocations: 366.8 kB / 467.2 MB, free: 2 MB / 334.1 MB Notification: Performance of Backend: time 8.91e-07/0.139, allocations: 0 / 467.2 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.1411, allocations: 0.9944 MB / 468.2 MB, free: 0.9648 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.001956/0.1431, allocations: 1.644 MB / 469.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of Templates: time 0.01721/0.1603, allocations: 9.762 MB / 479.6 MB, free: 5.539 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 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)