Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002948/0.002953, allocations: 363.1 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.635/4.635, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.00367/0.00367, allocations: 229.7 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.5674/0.5674, allocations: 80.04 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007746/0.0007755, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.151, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6417, allocations: 94.88 MB / 0.7728 GB, free: 6.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/0.6422, allocations: 87.27 kB / 0.7728 GB, free: 6.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.7962, allocations: 38.71 MB / 0.8106 GB, free: 6.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7963, allocations: 4 kB / 0.8106 GB, free: 6.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.91e-05/0.7963, allocations: 20 kB / 0.8107 GB, free: 6.418 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008486/0.8048, allocations: 1.729 MB / 0.8124 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.8049, allocations: 12.83 kB / 0.8124 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.816, allocations: 1.061 MB / 0.8134 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.8178, allocations: 0.5726 MB / 0.814 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.818, allocations: 100.8 kB / 0.8141 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003652/0.8184, allocations: 134.1 kB / 0.8142 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/0.8231, allocations: 1.515 MB / 0.8157 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-05/0.8233, allocations: 8.531 kB / 0.8157 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.8235, allocations: 55.38 kB / 0.8157 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.8236, allocations: 37.02 kB / 0.8158 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.8287, allocations: 1.6 MB / 0.8173 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.8429, allocations: 5.447 MB / 0.8226 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/0.847, allocations: 2.377 MB / 0.825 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.849, allocations: 0.6646 MB / 0.8256 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.8493, allocations: 106.1 kB / 0.8257 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.8494, allocations: 47.55 kB / 0.8258 GB, free: 7.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.629e-06/0.8494, allocations: 0 / 0.8258 GB, free: 7.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.0175/0.8669, allocations: 3.12 MB / 0.8288 GB, free: 4.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.867, allocations: 94.05 kB / 0.8289 GB, free: 4.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.8679, allocations: 445.8 kB / 0.8293 GB, free: 3.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.8681, allocations: 45.7 kB / 0.8294 GB, free: 3.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.8685, allocations: 463.4 kB / 0.8298 GB, free: 3.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/0.869, allocations: 429.7 kB / 0.8302 GB, free: 2.762 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.8691, allocations: 28 kB / 0.8302 GB, free: 2.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.8693, allocations: 374.7 kB / 0.8306 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.8708, allocations: 470.4 kB / 0.8311 GB, free: 1.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.8726, allocations: 0.726 MB / 0.8318 GB, free: 1.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.8743, allocations: 0.5218 MB / 0.8323 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.8743, allocations: 4 kB / 0.8323 GB, free: 0.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005112/0.8795, allocations: 1.611 MB / 0.8338 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.8796, allocations: 8 kB / 0.8339 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.8796, allocations: 8.406 kB / 0.8339 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.8823, allocations: 0.5162 MB / 0.8344 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.8841, allocations: 207.7 kB / 0.8346 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.8954, allocations: 4.3 MB / 0.8388 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.8969, allocations: 126.8 kB / 0.8389 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.8971, allocations: 51.98 kB / 0.8389 GB, free: 9.578 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0008284/0.898, allocations: 274.3 kB / 0.8392 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.8983, allocations: 75.06 kB / 0.8393 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/0.9033, allocations: 1.591 MB / 0.8408 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.9033, allocations: 12 kB / 0.8408 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9034, allocations: 8 kB / 0.8408 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.9034, allocations: 7.938 kB / 0.8408 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008107/0.9115, allocations: 2.892 MB / 0.8437 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.9116, allocations: 0 / 0.8437 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.913, allocations: 147.8 kB / 0.8438 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/0.9157, allocations: 0.5145 MB / 0.8443 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/0.916, allocations: 35.92 kB / 0.8444 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.9274, allocations: 4.272 MB / 0.8485 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9275, allocations: 7.938 kB / 0.8485 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006916/0.9344, allocations: 2.297 MB / 0.8508 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/0.9353, allocations: 287.6 kB / 0.851 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.9355, allocations: 27.98 kB / 0.8511 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9366, allocations: 52.05 kB / 0.8511 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/0.937, allocations: 105.1 kB / 0.8512 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.9372, allocations: 36 kB / 0.8513 GB, free: 12.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005809/0.9378, allocations: 294.9 kB / 0.8515 GB, free: 12.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.265e-06/0.9378, allocations: 4.109 kB / 0.8515 GB, free: 12.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00225/0.94, allocations: 422.9 kB / 0.8519 GB, free: 11.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005274/0.9406, allocations: 166 kB / 0.8521 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006208/0.9468, allocations: 1.779 MB / 0.8538 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.9469, allocations: 0 / 0.8538 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004062/0.951, allocations: 1.173 MB / 0.855 GB, free: 8.844 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.9523, allocations: 101.9 kB / 0.8551 GB, free: 8.746 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.9588, allocations: 2.594 MB / 0.8576 GB, free: 6.125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009834/0.9598, allocations: 1.095 MB / 0.8587 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.9609, allocations: 110.9 kB / 0.8588 GB, free: 4.891 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.9612, allocations: 59.42 kB / 0.8589 GB, free: 4.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9613, allocations: 0 / 0.8589 GB, free: 4.832 MB / 442.7 MB Notification: Performance of Templates: time 0.04968/1.011, allocations: 16.01 MB / 0.8745 GB, free: 4.906 MB / 458.7 MB