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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009253, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001146/0.001147, allocations: 180.1 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 223.4 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2952/0.2952, allocations: 38.05 MB / 309.7 MB, free: 8.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.000498, allocations: 12 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 56.33 MB / 432.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007691/0.1094, allocations: 6.824 MB / 439.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.1132, allocations: 2.253 MB / 441.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006361/0.1139, allocations: 43.69 kB / 442 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.1143, allocations: 143 kB / 442.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.1159, allocations: 0.591 MB / 442.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.1167, allocations: 259.6 kB / 442.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.1181, allocations: 1.394 MB / 444.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.1195, allocations: 0.9006 MB / 445.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007584/0.1203, allocations: 430 kB / 445.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009887/0.1213, allocations: 0.6076 MB / 446.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.1214, allocations: 35.94 kB / 446.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.122, allocations: 227.7 kB / 446.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.1224, allocations: 454.8 kB / 447 MB, free: 8.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.1228, allocations: 193.3 kB / 447.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.1236, allocations: 0.8767 MB / 448 MB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1237, allocations: 0 / 448 MB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1237, allocations: 0 / 448 MB, free: 7.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.164e-05/0.1237, allocations: 0 / 448 MB, free: 7.414 MB / 382.1 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.001773/0.1255, allocations: 1.055 MB / 449.1 MB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1255, allocations: 8.031 kB / 449.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.1264, allocations: 166.6 kB / 449.3 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.1274, allocations: 0.5762 MB / 449.8 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.1274, allocations: 69.97 kB / 449.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.1276, allocations: 103.8 kB / 450 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.1293, allocations: 1.145 MB / 451.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.1293, allocations: 3.938 kB / 451.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.1294, allocations: 35.98 kB / 451.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.1295, allocations: 89.95 kB / 451.3 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.1311, allocations: 0.9912 MB / 452.3 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1812/0.3123, allocations: 4.367 MB / 456.6 MB, free: 49.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3134, allocations: 0.627 MB / 457.3 MB, free: 49.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.3138, allocations: 309.1 kB / 457.6 MB, free: 49.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.3139, allocations: 10.41 kB / 457.6 MB, free: 49.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.3139, allocations: 44.78 kB / 457.6 MB, free: 49.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.505e-06/0.3139, allocations: 0 / 457.6 MB, free: 49.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.002689/0.3166, allocations: 1.727 MB / 459.3 MB, free: 48.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.3167, allocations: 84.23 kB / 459.4 MB, free: 48.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.3172, allocations: 0.544 MB / 460 MB, free: 48.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.3172, allocations: 34.45 kB / 460 MB, free: 48.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3174, allocations: 446.7 kB / 460.4 MB, free: 48.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3176, allocations: 218.9 kB / 460.7 MB, free: 48.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.3176, allocations: 16.91 kB / 460.7 MB, free: 48.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.3177, allocations: 384.8 kB / 461 MB, free: 48.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.3181, allocations: 281 kB / 461.3 MB, free: 48.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.3187, allocations: 0.6075 MB / 461.9 MB, free: 47.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.3192, allocations: 394.9 kB / 462.3 MB, free: 47.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3193, allocations: 3.281 kB / 462.3 MB, free: 47.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001831/0.3211, allocations: 1.164 MB / 463.5 MB, free: 47.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3211, allocations: 15.8 kB / 463.5 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001255/0.3224, allocations: 0.7054 MB / 464.2 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.323, allocations: 214.9 kB / 464.4 MB, free: 47.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.3237, allocations: 226.8 kB / 464.6 MB, free: 47.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.3271, allocations: 4.919 MB / 469.6 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.3276, allocations: 40.92 kB / 469.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.3276, allocations: 41 kB / 469.6 MB, free: 43.24 MB / 382.1 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_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],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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.328, allocations: 351.2 kB / 470 MB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.3281, allocations: 62.25 kB / 470 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009001/0.329, allocations: 0.6594 MB / 470.7 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.329, allocations: 6.531 kB / 470.7 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3291, allocations: 3.344 kB / 470.7 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3291, allocations: 4.031 kB / 470.7 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.3311, allocations: 1.539 MB / 472.3 MB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3311, allocations: 6.734 kB / 472.3 MB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.3318, allocations: 169.9 kB / 472.4 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.3318, allocations: 10.19 kB / 472.4 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.3319, allocations: 18.28 kB / 472.5 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3319, allocations: 3.062 kB / 472.5 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3319, allocations: 3.125 kB / 472.5 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.333, allocations: 1.02 MB / 473.5 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.3332, allocations: 179.6 kB / 473.7 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.3333, allocations: 22.78 kB / 473.7 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3336, allocations: 18.09 kB / 473.7 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3337, allocations: 41.17 kB / 473.7 MB, free: 41.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3338, allocations: 19.81 kB / 473.8 MB, free: 41.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.3341, allocations: 360 kB / 474.1 MB, free: 41.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3341, allocations: 0 / 474.1 MB, free: 41.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007976/0.3349, allocations: 218.2 kB / 474.3 MB, free: 41.09 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.335, allocations: 124.9 kB / 474.4 MB, free: 40.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.3365, allocations: 1.098 MB / 475.5 MB, free: 40.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3365, allocations: 0 / 475.5 MB, free: 40.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.3369, allocations: 309.8 kB / 475.8 MB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.3376, allocations: 147.6 kB / 476 MB, free: 40.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.3403, allocations: 2.355 MB / 478.3 MB, free: 38.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.3408, allocations: 1.068 MB / 479.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006104/0.3414, allocations: 228.5 kB / 479.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3416, allocations: 61.41 kB / 479.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.3416, allocations: 0 / 479.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01239/0.354, allocations: 7.619 MB / 487.3 MB, free: 37.6 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: