Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002908/0.002913, 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.767/3.767, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.003543/0.003542, allocations: 239.5 kB / 452.3 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.7376/0.7376, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4869/0.5923, allocations: 105.1 MB / 0.7768 GB, free: 81.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.5927, allocations: 97.28 kB / 0.7769 GB, free: 81.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09322/0.6859, allocations: 23.28 MB / 0.7997 GB, free: 72.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.686, allocations: 0 / 0.7997 GB, free: 72.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.659e-05/0.6861, allocations: 21.5 kB / 0.7997 GB, free: 72.79 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00409/0.6902, allocations: 1.245 MB / 0.8009 GB, free: 71.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6902, allocations: 10.97 kB / 0.8009 GB, free: 71.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.6914, allocations: 152 kB / 0.801 GB, free: 71.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.6944, allocations: 0.9179 MB / 0.8019 GB, free: 71.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/0.6947, allocations: 176.2 kB / 0.8021 GB, free: 71.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.695, allocations: 83.48 kB / 0.8022 GB, free: 71.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.6984, allocations: 1.37 MB / 0.8035 GB, free: 70.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.6985, allocations: 6.562 kB / 0.8035 GB, free: 70.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.6986, allocations: 34.69 kB / 0.8036 GB, free: 70.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.6987, allocations: 53.98 kB / 0.8036 GB, free: 70.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.7026, allocations: 1.307 MB / 0.8049 GB, free: 70.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.7128, allocations: 4.95 MB / 0.8097 GB, free: 67.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.7165, allocations: 1.2 MB / 0.8109 GB, free: 66.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.7184, allocations: 0.6503 MB / 0.8115 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.464e-05/0.7185, allocations: 13.36 kB / 0.8115 GB, free: 66.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7186, allocations: 40.38 kB / 0.8116 GB, free: 66.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 4.508e-06/0.7186, allocations: 3.984 kB / 0.8116 GB, free: 66.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.009178/0.7278, allocations: 3.3 MB / 0.8148 GB, free: 63.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.7279, allocations: 84.86 kB / 0.8149 GB, free: 63.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.7285, allocations: 460.8 kB / 0.8153 GB, free: 63.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/0.7286, allocations: 39.02 kB / 0.8154 GB, free: 63.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.7289, allocations: 395.2 kB / 0.8157 GB, free: 62.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.7291, allocations: 260.8 kB / 0.816 GB, free: 62.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.7292, allocations: 16.62 kB / 0.816 GB, free: 62.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7293, allocations: 385.1 kB / 0.8164 GB, free: 62.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.7308, allocations: 0.5121 MB / 0.8169 GB, free: 61.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.7324, allocations: 0.7148 MB / 0.8176 GB, free: 61.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.7341, allocations: 0.5929 MB / 0.8182 GB, free: 60.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7341, allocations: 3.938 kB / 0.8182 GB, free: 60.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00734/0.7414, allocations: 2.122 MB / 0.8202 GB, free: 59.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.7415, allocations: 12 kB / 0.8202 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006639/0.7481, allocations: 1.856 MB / 0.8221 GB, free: 57.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/0.7512, allocations: 0.6928 MB / 0.8227 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7524, allocations: 147 kB / 0.8229 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/0.7691, allocations: 6.974 MB / 0.8297 GB, free: 50.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.7704, allocations: 84.06 kB / 0.8298 GB, free: 50.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7705, allocations: 32 kB / 0.8298 GB, free: 50.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006701/0.7712, allocations: 311.1 kB / 0.8301 GB, free: 50.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.7714, allocations: 71.09 kB / 0.8302 GB, free: 50.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.775, allocations: 1.321 MB / 0.8315 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/0.775, allocations: 19.98 kB / 0.8315 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.775, allocations: 0 / 0.8315 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.7751, allocations: 7.984 kB / 0.8315 GB, free: 48.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005829/0.7809, allocations: 2.48 MB / 0.8339 GB, free: 46.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7809, allocations: 0 / 0.8339 GB, free: 46.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00537/0.7863, allocations: 0.6417 MB / 0.8345 GB, free: 45.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.7865, allocations: 20.86 kB / 0.8345 GB, free: 45.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/0.7866, allocations: 19.98 kB / 0.8346 GB, free: 45.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000906/0.7875, allocations: 1.385 MB / 0.8359 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7875, allocations: 0 / 0.8359 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005121/0.7926, allocations: 2.093 MB / 0.838 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.7928, allocations: 132.3 kB / 0.8381 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.793, allocations: 22.05 kB / 0.8381 GB, free: 41.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.794, allocations: 71.92 kB / 0.8382 GB, free: 41.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.7942, allocations: 72.39 kB / 0.8382 GB, free: 41.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.813e-05/0.7943, allocations: 16 kB / 0.8383 GB, free: 41.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004613/0.7948, allocations: 314.9 kB / 0.8386 GB, free: 41.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7948, allocations: 0 / 0.8386 GB, free: 41.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00123/0.796, allocations: 251.9 kB / 0.8388 GB, free: 40.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003179/0.7964, allocations: 167 kB / 0.839 GB, free: 40.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004222/0.8006, allocations: 1.612 MB / 0.8405 GB, free: 39.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8006, allocations: 4 kB / 0.8405 GB, free: 39.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004982/0.8056, allocations: 1.158 MB / 0.8417 GB, free: 37.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.807, allocations: 153.8 kB / 0.8418 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/0.8127, allocations: 2.711 MB / 0.8445 GB, free: 35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/0.8134, allocations: 1.094 MB / 0.8455 GB, free: 33.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.8145, allocations: 211.6 kB / 0.8457 GB, free: 33.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.8148, allocations: 51.42 kB / 0.8458 GB, free: 33.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8148, allocations: 0 / 0.8458 GB, free: 33.62 MB / 442.7 MB Notification: Performance of Templates: time 0.02807/0.8429, allocations: 12.23 MB / 0.8577 GB, free: 21.51 MB / 442.7 MB