Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Display.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00145/0.001454, allocations: 184 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.858/1.858, allocations: 194.5 MB / 211.6 MB, free: 7.703 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001954/0.001954, allocations: 116.6 kB / 256.9 MB, free: 10.33 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2402/0.2402, allocations: 38.01 MB / 340.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.000469, allocations: 19.48 kB / 403.8 MB, free: 55.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06964/0.07014, allocations: 53.23 MB / 457 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006852/0.07704, allocations: 6.549 MB / 463.6 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.08102, allocations: 2.261 MB / 465.8 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.08156, allocations: 39.75 kB / 465.9 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.0819, allocations: 135.1 kB / 466 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.08312, allocations: 470.5 kB / 466.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.08388, allocations: 263.5 kB / 466.7 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.0845, allocations: 0.5653 MB / 467.3 MB, free: 84 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.08637, allocations: 0.916 MB / 468.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.08703, allocations: 366.7 kB / 468.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.08776, allocations: 398.8 kB / 468.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.08789, allocations: 36 kB / 469 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.08847, allocations: 219.7 kB / 469.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.08899, allocations: 411 kB / 469.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.08925, allocations: 193.2 kB / 469.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.09041, allocations: 0.8767 MB / 470.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.592e-06/0.09043, allocations: 0 / 470.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.098e-06/0.09044, allocations: 4 kB / 470.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.09047, allocations: 0 / 470.7 MB, free: 12.65 MB / 314.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.002161/0.09264, allocations: 1.063 MB / 471.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.09269, allocations: 8.031 kB / 471.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.09385, allocations: 162.7 kB / 471.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.09514, allocations: 0.5723 MB / 472.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.09526, allocations: 77.92 kB / 472.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.09556, allocations: 99.81 kB / 472.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.09798, allocations: 1.145 MB / 473.8 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.09803, allocations: 3.938 kB / 473.8 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.09815, allocations: 31.98 kB / 473.8 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/0.09837, allocations: 89.94 kB / 473.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.1008, allocations: 1.003 MB / 474.9 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007472/0.1083, allocations: 4.358 MB / 479.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.11, allocations: 0.6242 MB / 479.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.11, allocations: 12.62 kB / 479.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.1101, allocations: 39.12 kB / 479.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.045e-06/0.1101, allocations: 0 / 479.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.004085/0.1142, allocations: 1.742 MB / 481.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.1143, allocations: 89.61 kB / 481.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.1152, allocations: 0.5416 MB / 482.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.1152, allocations: 33.7 kB / 482.3 MB, free: 484 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.1156, allocations: 442.7 kB / 482.8 MB, free: 32 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.1159, allocations: 225.1 kB / 483 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.116, allocations: 16 kB / 483 MB, free: 15.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.1162, allocations: 374.8 kB / 483.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.1169, allocations: 281.8 kB / 483.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.1179, allocations: 0.6075 MB / 484.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.1189, allocations: 401.9 kB / 484.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.605e-06/0.1189, allocations: 0 / 484.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003018/0.1219, allocations: 1.168 MB / 485.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.122, allocations: 8 kB / 485.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001888/0.1239, allocations: 0.7067 MB / 486.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/0.1249, allocations: 218.3 kB / 486.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.1259, allocations: 223.7 kB / 487 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006603/0.1325, allocations: 4.977 MB / 491.9 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.1333, allocations: 35.94 kB / 492 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/0.1334, allocations: 47.98 kB / 492 MB, free: 6.176 MB / 330.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_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.000664/0.1341, allocations: 349.2 kB / 492.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.1343, allocations: 71.11 kB / 492.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.1358, allocations: 0.6499 MB / 493.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.1358, allocations: 8 kB / 493.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.281e-06/0.1359, allocations: 0 / 493.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.1359, allocations: 4.219 kB / 493.1 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.1395, allocations: 1.539 MB / 494.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.255e-06/0.1395, allocations: 0 / 494.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.1405, allocations: 175.9 kB / 494.8 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.1405, allocations: 7.984 kB / 494.8 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.1406, allocations: 19.98 kB / 494.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.335e-06/0.1406, allocations: 4 kB / 494.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.183e-06/0.1407, allocations: 0 / 494.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.1428, allocations: 1.09 MB / 495.9 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.1432, allocations: 184.3 kB / 496.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.1433, allocations: 12 kB / 496.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.1437, allocations: 19.98 kB / 496.1 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.1439, allocations: 52.39 kB / 496.2 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.144, allocations: 23.98 kB / 496.2 MB, free: 1.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005782/0.1446, allocations: 350.8 kB / 496.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.1446, allocations: 4 kB / 496.6 MB, free: 1.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001144/0.1457, allocations: 223.9 kB / 496.8 MB, free: 1.238 MB / 330.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 (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.000188/0.1459, allocations: 125.3 kB / 496.9 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.1483, allocations: 1.099 MB / 498 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.144e-06/0.1483, allocations: 0 / 498 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006939/0.149, allocations: 315 kB / 498.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/0.1498, allocations: 134.6 kB / 498.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.1541, allocations: 2.346 MB / 0.4891 GB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.1551, allocations: 1.092 MB / 0.4901 GB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009051/0.156, allocations: 225.6 kB / 0.4903 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.1563, allocations: 59.42 kB / 0.4904 GB, free: 11.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1563, allocations: 3.938 kB / 0.4904 GB, free: 11.74 MB / 346.7 MB Notification: Performance of Templates: time 0.02063/0.177, allocations: 7.584 MB / 0.4978 GB, free: 4.172 MB / 346.7 MB