Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001112/0.001112, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.166/1.166, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001717/0.001717, allocations: 126 kB / 256.6 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1622/0.1622, allocations: 37.95 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.91 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07658, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006188/0.08281, allocations: 7.703 MB / 461.7 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.08591, allocations: 2.381 MB / 464.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.08635, allocations: 43.75 kB / 464.1 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.08782, allocations: 0.6694 MB / 464.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009377/0.08877, allocations: 0.5253 MB / 465.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.08922, allocations: 227.7 kB / 465.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.09031, allocations: 1.827 MB / 467.4 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.091, allocations: 0.5792 MB / 467.9 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.09146, allocations: 454 kB / 468.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.09208, allocations: 0.6542 MB / 469 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.09218, allocations: 48 kB / 469.1 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.09257, allocations: 251.7 kB / 469.3 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.09287, allocations: 474.7 kB / 469.8 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.09318, allocations: 473.5 kB / 470.2 MB, free: 248 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008619/0.09405, allocations: 1.149 MB / 471.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09407, allocations: 4 kB / 471.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.09407, allocations: 0 / 471.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.09409, allocations: 0 / 471.4 MB, free: 15.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001822/0.09592, allocations: 1.207 MB / 472.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.09596, allocations: 8.031 kB / 472.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008804/0.09685, allocations: 167.5 kB / 472.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.09786, allocations: 0.5851 MB / 473.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.09792, allocations: 70.3 kB / 473.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.09812, allocations: 95.91 kB / 473.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.09962, allocations: 1.161 MB / 474.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.09966, allocations: 7.938 kB / 474.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.09973, allocations: 31.98 kB / 474.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.09989, allocations: 85.95 kB / 474.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.1014, allocations: 1.011 MB / 475.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.1063, allocations: 4.362 MB / 480.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1073, allocations: 0.6195 MB / 480.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.1078, allocations: 307.3 kB / 481.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.1078, allocations: 8.562 kB / 481.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1079, allocations: 55.06 kB / 481.2 MB, free: 4.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 3.798e-06/0.1079, allocations: 0 / 481.2 MB, free: 4.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.002631/0.1105, allocations: 1.738 MB / 482.9 MB, free: 3.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1106, allocations: 85.67 kB / 483 MB, free: 3.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.1111, allocations: 0.5455 MB / 483.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1111, allocations: 33.83 kB / 483.6 MB, free: 2.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.1114, allocations: 446.7 kB / 484 MB, free: 1.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.1116, allocations: 224.9 kB / 484.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.1118, allocations: 182.5 kB / 484.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1119, allocations: 378.8 kB / 484.8 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.1123, allocations: 289.8 kB / 485 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.113, allocations: 0.6075 MB / 485.7 MB, free: 144 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.1141, allocations: 0.9692 MB / 486.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1141, allocations: 4 kB / 486.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001922/0.1161, allocations: 1.175 MB / 487.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1161, allocations: 8 kB / 487.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001232/0.1173, allocations: 0.727 MB / 488.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.118, allocations: 206.4 kB / 488.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.1187, allocations: 227.6 kB / 489 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.1227, allocations: 4.918 MB / 493.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.1232, allocations: 35.98 kB / 493.9 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.1233, allocations: 47.94 kB / 494 MB, free: 7.238 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004103/0.1237, allocations: 349.5 kB / 494.3 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.1238, allocations: 63.16 kB / 494.4 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.1249, allocations: 0.6538 MB / 495 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1249, allocations: 8 kB / 495 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1249, allocations: 0 / 495 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1249, allocations: 3.984 kB / 495 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.1272, allocations: 1.539 MB / 496.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1272, allocations: 4 kB / 496.6 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007226/0.128, allocations: 175.9 kB / 496.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.128, allocations: 11.88 kB / 496.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.128, allocations: 12 kB / 496.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.128, allocations: 4 kB / 496.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.128, allocations: 11.92 kB / 496.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.1333, allocations: 3.996 MB / 0.489 GB, free: 164 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.1336, allocations: 172.4 kB / 0.4892 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.1337, allocations: 16 kB / 0.4892 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.134, allocations: 23.89 kB / 0.4892 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.1341, allocations: 44.5 kB / 0.4893 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1341, allocations: 28.11 kB / 0.4893 GB, free: 15.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003391/0.1345, allocations: 358.8 kB / 0.4897 GB, free: 15.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1345, allocations: 0 / 0.4897 GB, free: 15.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008923/0.1354, allocations: 279.9 kB / 0.4899 GB, free: 15.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1355, allocations: 123.8 kB / 0.49 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.137, allocations: 1.095 MB / 0.4911 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.137, allocations: 0 / 0.4911 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1375, allocations: 315 kB / 0.4914 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.1382, allocations: 155.9 kB / 0.4916 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.1415, allocations: 2.695 MB / 0.4942 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.1421, allocations: 1.083 MB / 0.4953 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.1428, allocations: 233.6 kB / 0.4955 GB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.143, allocations: 59.42 kB / 0.4955 GB, free: 9.367 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.143, allocations: 0 / 0.4955 GB, free: 9.367 MB / 362.7 MB Notification: Performance of Templates: time 0.01428/0.1572, allocations: 9.035 MB / 0.5044 GB, free: 336 kB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)