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.00241/0.002414, allocations: 356.2 kB / 16.57 MB, free: 5.59 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.537/3.537, allocations: 388.9 MB / 406.2 MB, free: 11.92 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.003501/0.0035, allocations: 245.1 kB / 451.6 MB, free: 14.52 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.6568/0.6568, allocations: 76.01 MB / 0.5594 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004541, allocations: 12 kB / 0.6216 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06573/0.0662, allocations: 53.22 MB / 0.6736 GB, free: 60.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.0064/0.07265, allocations: 6.837 MB / 0.6803 GB, free: 54.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.0759, allocations: 2.23 MB / 0.6824 GB, free: 51.85 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.07627, allocations: 39.75 kB / 0.6825 GB, free: 51.81 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.07655, allocations: 127 kB / 0.6826 GB, free: 51.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.07771, allocations: 0.5752 MB / 0.6832 GB, free: 51.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.07838, allocations: 267.4 kB / 0.6834 GB, free: 50.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.07946, allocations: 1.394 MB / 0.6848 GB, free: 49.45 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.08095, allocations: 0.9089 MB / 0.6857 GB, free: 48.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.08142, allocations: 418 kB / 0.6861 GB, free: 48.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007611/0.08219, allocations: 0.6115 MB / 0.6867 GB, free: 47.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.08231, allocations: 36 kB / 0.6867 GB, free: 47.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.08275, allocations: 223.6 kB / 0.6869 GB, free: 47.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.08314, allocations: 450.9 kB / 0.6873 GB, free: 46.79 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.08333, allocations: 193.2 kB / 0.6875 GB, free: 46.59 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.0841, allocations: 0.8807 MB / 0.6884 GB, free: 45.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.08412, allocations: 3.938 kB / 0.6884 GB, free: 45.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.702e-06/0.08413, allocations: 0 / 0.6884 GB, free: 45.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.08415, allocations: 0 / 0.6884 GB, free: 45.7 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.001674/0.08583, allocations: 1.055 MB / 0.6894 GB, free: 44.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.08588, allocations: 16.03 kB / 0.6894 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.08706, allocations: 162.7 kB / 0.6896 GB, free: 44.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.0881, allocations: 0.5723 MB / 0.6902 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.08819, allocations: 69.97 kB / 0.6902 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.08843, allocations: 99.97 kB / 0.6903 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.09023, allocations: 1.149 MB / 0.6914 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.09029, allocations: 11.84 kB / 0.6914 GB, free: 42.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.09039, allocations: 36 kB / 0.6915 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.09057, allocations: 89.88 kB / 0.6916 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.09245, allocations: 0.9913 MB / 0.6925 GB, free: 41.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.0978, allocations: 4.382 MB / 0.6968 GB, free: 36.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.0991, allocations: 0.6143 MB / 0.6974 GB, free: 36.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.09966, allocations: 311.6 kB / 0.6977 GB, free: 35.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.09971, allocations: 4.562 kB / 0.6977 GB, free: 35.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.09975, allocations: 43.11 kB / 0.6978 GB, free: 35.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 2.929e-06/0.09976, allocations: 0 / 0.6978 GB, free: 35.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.003084/0.1029, allocations: 1.734 MB / 0.6995 GB, free: 33.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1029, allocations: 85.67 kB / 0.6995 GB, free: 33.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/0.1035, allocations: 0.5378 MB / 0.7001 GB, free: 33.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.1036, allocations: 37.7 kB / 0.7001 GB, free: 33.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.1038, allocations: 442.7 kB / 0.7005 GB, free: 32.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.104, allocations: 221 kB / 0.7007 GB, free: 32.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.104, allocations: 24 kB / 0.7007 GB, free: 32.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1041, allocations: 378.8 kB / 0.7011 GB, free: 32.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.1047, allocations: 281.8 kB / 0.7014 GB, free: 31.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.1054, allocations: 0.6075 MB / 0.702 GB, free: 31.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1061, allocations: 401.9 kB / 0.7024 GB, free: 30.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.1061, allocations: 4 kB / 0.7024 GB, free: 30.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00241/0.1086, allocations: 1.156 MB / 0.7035 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1086, allocations: 9 kB / 0.7035 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001554/0.1102, allocations: 0.7144 MB / 0.7042 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008122/0.111, allocations: 222.3 kB / 0.7044 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.1119, allocations: 219.6 kB / 0.7046 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.1162, allocations: 4.911 MB / 0.7094 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.1168, allocations: 36.12 kB / 0.7094 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.1169, allocations: 36 kB / 0.7095 GB, free: 22.98 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.0004474/0.1174, allocations: 365.3 kB / 0.7098 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1175, allocations: 67.16 kB / 0.7099 GB, free: 22.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.1187, allocations: 0.646 MB / 0.7105 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.701e-06/0.1188, allocations: 8 kB / 0.7105 GB, free: 21.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.168e-06/0.1188, allocations: 0 / 0.7105 GB, free: 21.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.998e-06/0.1188, allocations: 3.984 kB / 0.7105 GB, free: 21.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.1216, allocations: 1.539 MB / 0.712 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.248e-06/0.1216, allocations: 4 kB / 0.712 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.1227, allocations: 179.9 kB / 0.7122 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.1227, allocations: 4 kB / 0.7122 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.1228, allocations: 20 kB / 0.7122 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.555e-06/0.1228, allocations: 4 kB / 0.7122 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1228, allocations: 0 / 0.7122 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.1245, allocations: 1.022 MB / 0.7132 GB, free: 19.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.1248, allocations: 184.2 kB / 0.7134 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.1249, allocations: 19.98 kB / 0.7134 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.1253, allocations: 12 kB / 0.7134 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1255, allocations: 56.44 kB / 0.7135 GB, free: 18.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.1255, allocations: 16 kB / 0.7135 GB, free: 18.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004005/0.1259, allocations: 358.8 kB / 0.7139 GB, free: 18.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.63e-07/0.126, allocations: 0 / 0.7139 GB, free: 18.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008889/0.1269, allocations: 224 kB / 0.7141 GB, free: 18.14 MB / 442.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.0001217/0.127, allocations: 115.1 kB / 0.7142 GB, free: 18.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.1288, allocations: 1.099 MB / 0.7153 GB, free: 16.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1288, allocations: 0 / 0.7153 GB, free: 16.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.1294, allocations: 308.1 kB / 0.7155 GB, free: 16.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.1304, allocations: 148 kB / 0.7157 GB, free: 16.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.1335, allocations: 2.358 MB / 0.718 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.1342, allocations: 1.091 MB / 0.7191 GB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007824/0.135, allocations: 233.5 kB / 0.7193 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.1352, allocations: 59.42 kB / 0.7193 GB, free: 12.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.32e-06/0.1352, allocations: 0 / 0.7193 GB, free: 12.63 MB / 442.7 MB Notification: Performance of Templates: time 0.01691/0.1521, allocations: 7.601 MB / 0.7268 GB, free: 5.047 MB / 442.7 MB