Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005027/0.005027, allocations: 362.5 kB / 15.95 MB, free: 6.203 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 4.431/4.431, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003676/0.003675, allocations: 227.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5575/0.5575, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004853, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.6246, allocations: 90.86 MB / 0.7688 GB, free: 10.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/0.6251, allocations: 87.2 kB / 0.7689 GB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.135/0.7601, allocations: 32.54 MB / 0.8007 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.7602, allocations: 0 / 0.8007 GB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.629e-05/0.7603, allocations: 16 kB / 0.8007 GB, free: 15.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004682/0.765, allocations: 1.28 MB / 0.8019 GB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.765, allocations: 8.031 kB / 0.802 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.7755, allocations: 1.029 MB / 0.803 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.7766, allocations: 0.5237 MB / 0.8035 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.7768, allocations: 92.38 kB / 0.8036 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.7771, allocations: 126.8 kB / 0.8037 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.7804, allocations: 1.167 MB / 0.8048 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/0.7805, allocations: 0 / 0.8048 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.7807, allocations: 52.75 kB / 0.8049 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.7807, allocations: 35.95 kB / 0.8049 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/0.7847, allocations: 1.437 MB / 0.8063 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.7971, allocations: 4.857 MB / 0.811 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.8003, allocations: 1.186 MB / 0.8122 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.8014, allocations: 375.7 kB / 0.8126 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.8016, allocations: 94.09 kB / 0.8127 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.8016, allocations: 51.56 kB / 0.8127 GB, free: 5.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.308e-06/0.8017, allocations: 0 / 0.8127 GB, free: 5.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003716/0.8054, allocations: 1.194 MB / 0.8139 GB, free: 3.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.8055, allocations: 64.41 kB / 0.8139 GB, free: 3.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.807, allocations: 0.7619 MB / 0.8147 GB, free: 2.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/0.8071, allocations: 41.7 kB / 0.8147 GB, free: 2.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.8076, allocations: 470.7 kB / 0.8152 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.808, allocations: 315.4 kB / 0.8155 GB, free: 2.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.8081, allocations: 20 kB / 0.8155 GB, free: 2.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.8084, allocations: 394.7 kB / 0.8159 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.8095, allocations: 342.5 kB / 0.8162 GB, free: 1.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.8108, allocations: 0.6023 MB / 0.8168 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.8121, allocations: 430.8 kB / 0.8172 GB, free: 288 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.8122, allocations: 7.938 kB / 0.8172 GB, free: 280 kB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00365/0.8158, allocations: 1.158 MB / 0.8183 GB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.8159, allocations: 8 kB / 0.8183 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.8159, allocations: 8.594 kB / 0.8183 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.8164, allocations: 73.67 kB / 0.8184 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.8185, allocations: 263.6 kB / 0.8187 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.8215, allocations: 2.628 MB / 0.8212 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.8232, allocations: 154.3 kB / 0.8214 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.8233, allocations: 47.98 kB / 0.8214 GB, free: 11.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006935/0.824, allocations: 257.6 kB / 0.8217 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.8243, allocations: 82.97 kB / 0.8217 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.8275, allocations: 1.114 MB / 0.8228 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.8276, allocations: 8 kB / 0.8228 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8276, allocations: 4 kB / 0.8228 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.8276, allocations: 3.984 kB / 0.8228 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.8339, allocations: 2.703 MB / 0.8255 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.8339, allocations: 16.09 kB / 0.8255 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.8355, allocations: 183.7 kB / 0.8257 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.8359, allocations: 65.61 kB / 0.8257 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.724e-05/0.836, allocations: 24 kB / 0.8258 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.8389, allocations: 2.636 MB / 0.8283 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.8389, allocations: 4 kB / 0.8283 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.8429, allocations: 1.475 MB / 0.8298 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.8434, allocations: 215.6 kB / 0.83 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.8436, allocations: 27.98 kB / 0.83 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.8448, allocations: 60.05 kB / 0.8301 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.845, allocations: 80.39 kB / 0.8301 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/0.8451, allocations: 36 kB / 0.8302 GB, free: 2.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.8463, allocations: 0.5342 MB / 0.8307 GB, free: 1.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8464, allocations: 4 kB / 0.8307 GB, free: 1.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001445/0.8478, allocations: 291.5 kB / 0.831 GB, free: 1.199 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004116/0.8482, allocations: 182.9 kB / 0.8312 GB, free: 1.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003185/0.8514, allocations: 1.079 MB / 0.8322 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.8515, allocations: 0 / 0.8322 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.8532, allocations: 0.6228 MB / 0.8328 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.8546, allocations: 127.5 kB / 0.8329 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.8601, allocations: 2.147 MB / 0.835 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008603/0.861, allocations: 1.012 MB / 0.836 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001263/0.8623, allocations: 151.5 kB / 0.8362 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.8627, allocations: 79.42 kB / 0.8362 GB, free: 11.62 MB / 426.7 MB Notification: Performance of SimCode: time 3.827e-06/0.8627, allocations: 0 / 0.8362 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Templates: time 0.03175/0.8944, allocations: 9.454 MB / 0.8455 GB, free: 2.207 MB / 426.7 MB