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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 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.001126/0.001126, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1578/0.1578, allocations: 16.78 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 371.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2075, allocations: 53.54 MB / 425.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.006353/0.2139, allocations: 10.75 MB / 436.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.2172, allocations: 3.758 MB / 439.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.2175, allocations: 22.44 kB / 439.9 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006251/0.2181, allocations: 323.4 kB / 440.2 MB, free: 30.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.2196, allocations: 1.171 MB / 441.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.2201, allocations: 273.9 kB / 441.6 MB, free: 29.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.2208, allocations: 1.16 MB / 442.8 MB, free: 28.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.221, allocations: 212 kB / 443 MB, free: 28.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.2213, allocations: 414.3 kB / 443.4 MB, free: 28.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.2216, allocations: 428.4 kB / 443.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.2217, allocations: 47.69 kB / 443.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.2221, allocations: 255.2 kB / 444.1 MB, free: 27.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.2221, allocations: 120 kB / 444.2 MB, free: 27.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.2224, allocations: 380.5 kB / 444.6 MB, free: 27.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.2229, allocations: 0.9345 MB / 445.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.223, allocations: 0 / 445.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.223, allocations: 7.938 kB / 445.5 MB, free: 27.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.223, allocations: 0 / 445.5 MB, free: 27.29 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.002096/0.2251, allocations: 1.15 MB / 446.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2251, allocations: 12.72 kB / 446.7 MB, free: 26.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.2254, allocations: 95.92 kB / 446.8 MB, free: 26.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.226, allocations: 0.5436 MB / 447.3 MB, free: 26.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2261, allocations: 36.12 kB / 447.4 MB, free: 26.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.2261, allocations: 47.72 kB / 447.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.2266, allocations: 0.521 MB / 447.9 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2266, allocations: 3.156 kB / 447.9 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.2267, allocations: 18.34 kB / 448 MB, free: 25.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2267, allocations: 9.531 kB / 448 MB, free: 25.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.2271, allocations: 376.8 kB / 448.3 MB, free: 25.57 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.002346/0.2295, allocations: 3.884 MB / 452.2 MB, free: 22.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.23, allocations: 0.6435 MB / 452.9 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.2302, allocations: 147.3 kB / 453 MB, free: 21.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.2302, allocations: 10.64 kB / 453 MB, free: 21.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.2302, allocations: 41.98 kB / 453.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.552e-06/0.2302, allocations: 0 / 453.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.001822/0.2321, allocations: 0.8154 MB / 453.9 MB, free: 21.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.321e-05/0.2321, allocations: 54.34 kB / 453.9 MB, free: 21.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.2325, allocations: 0.5337 MB / 454.5 MB, free: 20.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2325, allocations: 36.83 kB / 454.5 MB, free: 20.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2327, allocations: 303 kB / 454.8 MB, free: 20.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.2327, allocations: 157.3 kB / 455 MB, free: 20.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2329, allocations: 139.9 kB / 455.1 MB, free: 20.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.2329, allocations: 366.4 kB / 455.4 MB, free: 19.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.2332, allocations: 161.6 kB / 455.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.2334, allocations: 388.3 kB / 456 MB, free: 19.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.2339, allocations: 0.5619 MB / 456.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2339, allocations: 3.312 kB / 456.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001243/0.2352, allocations: 0.7837 MB / 457.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2352, allocations: 6.344 kB / 457.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2352, allocations: 10.47 kB / 457.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.2371, allocations: 385.9 kB / 457.7 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.2375, allocations: 140.2 kB / 457.9 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.2412, allocations: 5.221 MB / 463.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.2417, allocations: 67.88 kB / 463.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.2417, allocations: 35.58 kB / 463.2 MB, free: 13.95 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.0001527/0.2419, allocations: 200.1 kB / 463.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.2419, allocations: 65.88 kB / 463.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.2427, allocations: 0.4895 MB / 463.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2427, allocations: 0 / 463.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2428, allocations: 0 / 463.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.2429, allocations: 182.3 kB / 464.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.243, allocations: 10.97 kB / 464.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.2433, allocations: 20.3 kB / 464.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.2434, allocations: 40.61 kB / 464.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009078/0.2443, allocations: 0.5344 MB / 464.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005937/0.2449, allocations: 0.6763 MB / 465.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001557/0.2451, allocations: 139.2 kB / 465.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.2454, allocations: 367.6 kB / 465.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Backend: time 3.2e-07/0.2454, allocations: 0 / 465.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.2469, allocations: 1.006 MB / 466.9 MB, free: 11.82 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.001259/0.2482, allocations: 1.67 MB / 468.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Templates: time 0.01455/0.2628, allocations: 9.751 MB / 478.3 MB, free: 9.535 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)