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.001209/0.001209, allocations: 110.1 kB / 16.37 MB, free: 5.539 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.001269/0.001269, allocations: 197.5 kB / 17.31 MB, free: 5.18 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 / 241 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.08144/0.08144, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.39 kB / 373.2 MB, free: 48.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09972, allocations: 53.57 MB / 426.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.00746/0.1072, allocations: 10.66 MB / 437.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005712/0.113, allocations: 3.737 MB / 441.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008806/0.1139, allocations: 23.88 kB / 441.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009884/0.115, allocations: 306.3 kB / 441.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.1173, allocations: 1.171 MB / 442.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.118, allocations: 283.9 kB / 442.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1192, allocations: 1.16 MB / 444.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.1196, allocations: 221.8 kB / 444.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.12, allocations: 402.5 kB / 444.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1205, allocations: 430.1 kB / 445.1 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.1206, allocations: 48 kB / 445.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.1211, allocations: 251.8 kB / 445.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1212, allocations: 123.5 kB / 445.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.1215, allocations: 382 kB / 445.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009393/0.1224, allocations: 0.9539 MB / 446.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1225, allocations: 0 / 446.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1225, allocations: 4 kB / 446.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1225, 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.002811/0.1253, allocations: 1.137 MB / 448 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.1254, allocations: 8.031 kB / 448 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.1257, allocations: 100.1 kB / 448.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.1268, allocations: 0.5514 MB / 448.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.1269, allocations: 37.38 kB / 448.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.1269, allocations: 48.38 kB / 448.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.1277, allocations: 0.5219 MB / 449.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1277, allocations: 3.938 kB / 449.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.1277, allocations: 24 kB / 449.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1278, allocations: 8 kB / 449.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.1283, allocations: 379.5 kB / 449.6 MB, free: 4.781 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.003925/0.1323, allocations: 3.883 MB / 453.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.133, allocations: 0.6223 MB / 454.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1333, allocations: 152.8 kB / 454.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1333, allocations: 4.938 kB / 454.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1334, allocations: 42.5 kB / 454.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.1334, allocations: 0 / 454.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002222/0.1356, allocations: 0.8185 MB / 455.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1356, allocations: 55.41 kB / 455.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.1363, allocations: 0.5379 MB / 455.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.1363, allocations: 41.7 kB / 455.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1366, allocations: 300.4 kB / 456.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1367, allocations: 145.9 kB / 456.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1369, allocations: 142.5 kB / 456.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1371, allocations: 370.8 kB / 456.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.1374, allocations: 165.9 kB / 456.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.1378, allocations: 381 kB / 457.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.1385, allocations: 0.5617 MB / 457.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1385, allocations: 0 / 457.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001532/0.14, allocations: 0.7974 MB / 458.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1401, allocations: 10.81 kB / 458.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.1401, allocations: 8 kB / 458.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.1422, allocations: 386.3 kB / 459 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.1426, allocations: 135.8 kB / 459.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.1486, allocations: 5.211 MB / 464.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.1494, allocations: 72.23 kB / 464.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.1495, allocations: 28 kB / 464.5 MB, free: 4.805 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.0002686/0.1498, allocations: 205.6 kB / 464.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1499, allocations: 63.23 kB / 464.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009703/0.1508, allocations: 0.5004 MB / 465.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1509, allocations: 3.984 kB / 465.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1509, allocations: 0 / 465.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.1511, allocations: 176.2 kB / 465.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.1512, allocations: 12 kB / 465.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.1516, allocations: 15.98 kB / 465.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.1516, allocations: 35.94 kB / 465.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001152/0.1528, allocations: 0.5366 MB / 466 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008279/0.1536, allocations: 0.6757 MB / 466.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002102/0.1539, allocations: 140.5 kB / 466.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.1543, allocations: 374.8 kB / 467.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of Backend: time 5.81e-07/0.1543, allocations: 0 / 467.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.1563, allocations: 0.9983 MB / 468.2 MB, free: 0.9766 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.001926/0.1582, allocations: 1.647 MB / 469.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Templates: time 0.01651/0.1748, allocations: 9.756 MB / 479.6 MB, free: 5.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=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)