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.0009737/0.0009737, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009686/0.0009686, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1534/0.1534, allocations: 16.78 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.91 kB / 371.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2202, allocations: 53.54 MB / 425.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.00675/0.227, allocations: 10.77 MB / 436.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.2307, allocations: 3.754 MB / 439.9 MB, free: 30.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.231, allocations: 29.34 kB / 439.9 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.2317, allocations: 318.3 kB / 440.2 MB, free: 29.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.2333, allocations: 1.159 MB / 441.4 MB, free: 29.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.2337, allocations: 276.9 kB / 441.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.2344, allocations: 1.16 MB / 442.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.2347, allocations: 208.1 kB / 443 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.235, allocations: 414.2 kB / 443.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.2353, allocations: 428.4 kB / 443.8 MB, free: 28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.2354, allocations: 46.91 kB / 443.9 MB, free: 28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.2358, allocations: 254 kB / 444.1 MB, free: 27.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.2358, allocations: 124.8 kB / 444.2 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.2361, allocations: 380.7 kB / 444.6 MB, free: 27.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.2367, allocations: 0.944 MB / 445.5 MB, free: 27.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2367, allocations: 3.938 kB / 445.5 MB, free: 27.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2367, allocations: 0 / 445.5 MB, free: 27.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.495e-06/0.2367, allocations: 0 / 445.5 MB, free: 27.23 MB / 350.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.002158/0.2389, allocations: 1.15 MB / 446.7 MB, free: 26.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.2389, allocations: 9.188 kB / 446.7 MB, free: 26.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.2392, allocations: 96.64 kB / 446.8 MB, free: 26.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.2398, allocations: 0.5357 MB / 447.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2399, allocations: 35.25 kB / 447.4 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.2399, allocations: 50.81 kB / 447.4 MB, free: 26.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2404, allocations: 0.5224 MB / 447.9 MB, free: 25.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2405, allocations: 4.938 kB / 447.9 MB, free: 25.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.2405, allocations: 18 kB / 448 MB, free: 25.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2405, allocations: 12.91 kB / 448 MB, free: 25.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.241, allocations: 374.6 kB / 448.3 MB, free: 25.51 MB / 350.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.002428/0.2434, allocations: 3.886 MB / 452.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2439, allocations: 0.6384 MB / 452.9 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2441, allocations: 147 kB / 453 MB, free: 21.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.2441, allocations: 7.406 kB / 453 MB, free: 21.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.2441, allocations: 37.84 kB / 453.1 MB, free: 21.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.2441, allocations: 0 / 453.1 MB, free: 21.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.001964/0.2461, allocations: 0.8152 MB / 453.9 MB, free: 21.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.2461, allocations: 66.12 kB / 453.9 MB, free: 21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.2466, allocations: 0.5381 MB / 454.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2467, allocations: 32.77 kB / 454.5 MB, free: 20.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2468, allocations: 303.1 kB / 454.8 MB, free: 20.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.2469, allocations: 152.4 kB / 454.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2471, allocations: 137.9 kB / 455.1 MB, free: 20.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.2472, allocations: 367.4 kB / 455.4 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.2474, allocations: 159.2 kB / 455.6 MB, free: 19.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.2478, allocations: 388.2 kB / 456 MB, free: 19.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.2484, allocations: 0.561 MB / 456.5 MB, free: 19.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.2484, allocations: 3.062 kB / 456.5 MB, free: 19.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001484/0.2499, allocations: 0.7891 MB / 457.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2499, allocations: 8.938 kB / 457.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2499, allocations: 6.188 kB / 457.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.2519, allocations: 401.1 kB / 457.7 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.2523, allocations: 130.4 kB / 457.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.2562, allocations: 5.225 MB / 463.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.2567, allocations: 68.03 kB / 463.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.2568, allocations: 31.23 kB / 463.2 MB, free: 13.89 MB / 350.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.0002004/0.257, allocations: 204.3 kB / 463.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.2571, allocations: 61.81 kB / 463.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008076/0.2579, allocations: 0.4972 MB / 463.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2579, allocations: 0 / 463.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2579, allocations: 3.125 kB / 463.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2581, allocations: 179.1 kB / 464.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.2581, allocations: 10.97 kB / 464.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.2585, allocations: 16.88 kB / 464.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.2586, allocations: 35.23 kB / 464.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009431/0.2595, allocations: 0.5367 MB / 464.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006292/0.2602, allocations: 0.6796 MB / 465.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001703/0.2603, allocations: 133.7 kB / 465.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.2606, allocations: 365.4 kB / 465.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2607, allocations: 11.88 kB / 465.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2624, allocations: 1.004 MB / 466.9 MB, free: 11.75 MB / 350.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.00152/0.2639, allocations: 1.656 MB / 468.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Templates: time 0.01569/0.2796, allocations: 9.758 MB / 478.3 MB, free: 9.559 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)