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.00438/0.004379, allocations: 364.4 kB / 17.21 MB, free: 4.953 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 3.955/3.955, allocations: 388.9 MB / 406.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003551/0.003551, allocations: 227.4 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7508/0.7508, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004598, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.09413, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5538, allocations: 95.03 MB / 0.767 GB, free: 81.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5542, allocations: 90.88 kB / 0.7671 GB, free: 81.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1091/0.6633, allocations: 26.12 MB / 0.7926 GB, free: 74.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6634, allocations: 4 kB / 0.7926 GB, free: 74.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.676e-05/0.6634, allocations: 27.28 kB / 0.7926 GB, free: 74.87 MB / 442.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.003122/0.6666, allocations: 1.094 MB / 0.7937 GB, free: 74.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6666, allocations: 11.53 kB / 0.7937 GB, free: 74.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.6684, allocations: 167.2 kB / 0.7939 GB, free: 74.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.6712, allocations: 0.8493 MB / 0.7947 GB, free: 73.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.6713, allocations: 68.72 kB / 0.7948 GB, free: 73.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.6715, allocations: 78.52 kB / 0.7948 GB, free: 73.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.6742, allocations: 1.151 MB / 0.796 GB, free: 73.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/0.6743, allocations: 9.594 kB / 0.796 GB, free: 73.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.6744, allocations: 34.05 kB / 0.796 GB, free: 73.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.6746, allocations: 81.36 kB / 0.7961 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.6772, allocations: 1.006 MB / 0.7971 GB, free: 72.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007666/0.6849, allocations: 4.366 MB / 0.8013 GB, free: 70.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.6868, allocations: 0.6273 MB / 0.8019 GB, free: 69.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.6876, allocations: 330.2 kB / 0.8023 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.6877, allocations: 10.47 kB / 0.8023 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6877, allocations: 37.5 kB / 0.8023 GB, free: 69.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.617e-06/0.6877, allocations: 0 / 0.8023 GB, free: 69.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.004327/0.692, allocations: 1.769 MB / 0.804 GB, free: 69.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6921, allocations: 90.45 kB / 0.8041 GB, free: 69.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007909/0.693, allocations: 0.5471 MB / 0.8047 GB, free: 68.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.693, allocations: 35.89 kB / 0.8047 GB, free: 68.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.6933, allocations: 440.7 kB / 0.8051 GB, free: 68.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.6936, allocations: 221.4 kB / 0.8053 GB, free: 68.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.6936, allocations: 21.44 kB / 0.8053 GB, free: 68.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6938, allocations: 377.1 kB / 0.8057 GB, free: 67.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008091/0.6946, allocations: 290.9 kB / 0.806 GB, free: 67.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/0.6955, allocations: 0.6174 MB / 0.8066 GB, free: 67.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.6965, allocations: 398.2 kB / 0.807 GB, free: 67.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.6966, allocations: 8.594 kB / 0.807 GB, free: 67.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003345/0.6999, allocations: 1.171 MB / 0.8081 GB, free: 67.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.7, allocations: 14.52 kB / 0.8081 GB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00219/0.7022, allocations: 0.7312 MB / 0.8088 GB, free: 66.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.7034, allocations: 216.5 kB / 0.809 GB, free: 66.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.7048, allocations: 206.8 kB / 0.8092 GB, free: 66.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.7105, allocations: 4.926 MB / 0.8141 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009832/0.7115, allocations: 37.08 kB / 0.8141 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.7116, allocations: 43.91 kB / 0.8141 GB, free: 62.56 MB / 442.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.0007064/0.7123, allocations: 350.9 kB / 0.8145 GB, free: 62.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7125, allocations: 61.25 kB / 0.8145 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.7142, allocations: 0.6772 MB / 0.8152 GB, free: 62.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.7142, allocations: 5.469 kB / 0.8152 GB, free: 62.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7142, allocations: 5.891 kB / 0.8152 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7142, allocations: 7.453 kB / 0.8152 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.7183, allocations: 1.603 MB / 0.8168 GB, free: 61.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.7183, allocations: 4 kB / 0.8168 GB, free: 61.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.7197, allocations: 163.1 kB / 0.8169 GB, free: 60.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7197, allocations: 11.98 kB / 0.8169 GB, free: 60.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.7198, allocations: 11.12 kB / 0.817 GB, free: 60.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.7198, allocations: 7.938 kB / 0.817 GB, free: 60.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7198, allocations: 4 kB / 0.817 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.722, allocations: 1.047 MB / 0.818 GB, free: 60.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.7224, allocations: 183.1 kB / 0.8182 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.7225, allocations: 17.19 kB / 0.8182 GB, free: 59.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.7231, allocations: 21.02 kB / 0.8182 GB, free: 59.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.7233, allocations: 50.62 kB / 0.8182 GB, free: 59.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.7233, allocations: 18.56 kB / 0.8183 GB, free: 59.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005633/0.7239, allocations: 358.2 kB / 0.8186 GB, free: 59.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7239, allocations: 2.531 kB / 0.8186 GB, free: 59.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001281/0.7252, allocations: 236.6 kB / 0.8188 GB, free: 59.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0002497/0.7255, allocations: 150.6 kB / 0.819 GB, free: 59.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.7279, allocations: 1.114 MB / 0.8201 GB, free: 58.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.728, allocations: 4 kB / 0.8201 GB, free: 58.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007392/0.7287, allocations: 318.3 kB / 0.8204 GB, free: 57.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.73, allocations: 151.2 kB / 0.8205 GB, free: 57.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.7343, allocations: 2.364 MB / 0.8228 GB, free: 55.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/0.7351, allocations: 1.089 MB / 0.8239 GB, free: 54.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.7361, allocations: 221.6 kB / 0.8241 GB, free: 54.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.7364, allocations: 59.36 kB / 0.8242 GB, free: 54.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7364, allocations: 0 / 0.8242 GB, free: 54.27 MB / 442.7 MB Notification: Performance of Templates: time 0.02169/0.7581, allocations: 7.969 MB / 0.8319 GB, free: 46.41 MB / 442.7 MB