Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007996/0.0007998, allocations: 93.02 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3741/0.3741, allocations: 43.57 MB / 363.1 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 16 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 58.83 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5884, allocations: 113.4 MB / 0.5907 GB, free: 4.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5887, allocations: 87.95 kB / 0.5908 GB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528/2.117, allocations: 468 MB / 1.048 GB, free: 15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.057e-06/2.117, allocations: 4 kB / 1.048 GB, free: 15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001509/2.118, allocations: 303.7 kB / 1.048 GB, free: 14.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.05855/2.177, allocations: 13.93 MB / 1.062 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/2.177, allocations: 8.031 kB / 1.062 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4106/2.588, allocations: 8.562 MB / 1.07 GB, free: 41.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02391/2.612, allocations: 8.957 MB / 1.079 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002255/2.614, allocations: 1.031 MB / 1.08 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007944/2.622, allocations: 1.305 MB / 1.081 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08/2.702, allocations: 25.06 MB / 1.106 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006239/2.703, allocations: 20.34 kB / 1.106 GB, free: 38.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006065/2.709, allocations: 0.573 MB / 1.106 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/2.71, allocations: 0.9276 MB / 1.107 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05282/2.763, allocations: 22.55 MB / 1.129 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1553/2.918, allocations: 76.46 MB / 1.204 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03047/2.949, allocations: 21.07 MB / 1.224 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02451/2.973, allocations: 11.69 MB / 1.236 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1104/3.084, allocations: 37.94 MB / 1.273 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/3.084, allocations: 135 kB / 1.273 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1188): time 2.674e-05/3.084, allocations: 0 / 1.273 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1188): time 0.4598/3.544, allocations: 32.98 MB / 1.305 GB, free: 85.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/3.544, allocations: 178.3 kB / 1.305 GB, free: 85.44 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006661/3.551, allocations: 3.475 MB / 1.309 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002987/3.554, allocations: 177 kB / 1.309 GB, free: 85.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/3.557, allocations: 4.482 MB / 1.313 GB, free: 83.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006272/3.563, allocations: 3.858 MB / 1.317 GB, free: 81.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/3.564, allocations: 175.1 kB / 1.317 GB, free: 81.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001057/3.565, allocations: 0.7555 MB / 1.318 GB, free: 80.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01418/3.58, allocations: 8.075 MB / 1.326 GB, free: 80.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02045/3.6, allocations: 9.608 MB / 1.335 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03146/3.632, allocations: 18.46 MB / 1.353 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/3.632, allocations: 8.156 kB / 1.353 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.05545/3.687, allocations: 23.96 MB / 1.377 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/3.687, allocations: 26.25 kB / 1.377 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/3.687, allocations: 31.31 kB / 1.377 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02133/3.709, allocations: 10.34 MB / 1.387 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006808/3.716, allocations: 1.349 MB / 1.388 GB, free: 69.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03273/3.748, allocations: 19.54 MB / 1.407 GB, free: 60.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009036/3.757, allocations: 1.109 MB / 1.408 GB, free: 59.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003413/3.761, allocations: 385.7 kB / 1.409 GB, free: 59.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.0184/3.779, allocations: 5.386 MB / 1.414 GB, free: 57.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004727/3.784, allocations: 0.6073 MB / 1.414 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07017/3.854, allocations: 24.69 MB / 1.439 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006395/3.855, allocations: 329.5 kB / 1.439 GB, free: 38.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.79e-05/3.855, allocations: 4 kB / 1.439 GB, free: 38.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003016/3.855, allocations: 53.22 kB / 1.439 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1171/3.972, allocations: 43.71 MB / 1.482 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001371/3.973, allocations: 4 kB / 1.482 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005459/3.978, allocations: 1.082 MB / 1.483 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4115/4.39, allocations: 10.93 MB / 1.493 GB, free: 80.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003449/4.393, allocations: 243.7 kB / 1.494 GB, free: 80.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/4.423, allocations: 19.46 MB / 1.513 GB, free: 78.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/4.423, allocations: 3.562 kB / 1.513 GB, free: 78.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07813/4.501, allocations: 36.35 MB / 1.548 GB, free: 77.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008158/4.509, allocations: 2.691 MB / 1.551 GB, free: 77.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00379/4.513, allocations: 160.6 kB / 1.551 GB, free: 77.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006668/4.52, allocations: 0.5283 MB / 1.551 GB, free: 77.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003867/4.524, allocations: 0.8869 MB / 1.552 GB, free: 77.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002076/4.526, allocations: 310.6 kB / 1.553 GB, free: 77.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004087/4.53, allocations: 2.364 MB / 1.555 GB, free: 77.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/4.53, allocations: 2.516 kB / 1.555 GB, free: 77.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01397/4.544, allocations: 3.477 MB / 1.558 GB, free: 77.19 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.003341/4.547, allocations: 358.8 kB / 1.559 GB, free: 77.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04038/4.588, allocations: 20.18 MB / 1.578 GB, free: 75.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/4.588, allocations: 0 / 1.578 GB, free: 75.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02452/4.612, allocations: 11.13 MB / 1.589 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01563/4.628, allocations: 1.295 MB / 1.59 GB, free: 70.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08971/4.718, allocations: 36.75 MB / 1.626 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02752/4.745, allocations: 9.491 MB / 1.636 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01272/4.758, allocations: 2.112 MB / 1.638 GB, free: 41.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004276/4.763, allocations: 380.9 kB / 1.638 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of SimCode: time 1.572e-06/4.763, allocations: 0 / 1.638 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.6695/5.432, allocations: 202.4 MB / 1.836 GB, free: 35.47 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1)