Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008541/0.008541, allocations: 175.4 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.747/1.747, allocations: 194.5 MB / 210.3 MB, free: 7.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001547/0.001547, allocations: 116.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2312/0.2312, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 14.02 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1353, allocations: 54.88 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.6479, allocations: 106.5 MB / 0.5543 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.6483, allocations: 90.11 kB / 0.5544 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.581/2.23, allocations: 470.5 MB / 1.014 GB, free: 55.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.634e-06/2.23, allocations: 0 / 1.014 GB, free: 55.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00232/2.232, allocations: 302.6 kB / 1.014 GB, free: 55.42 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.06805/2.3, allocations: 13.96 MB / 1.028 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/2.3, allocations: 6.781 kB / 1.028 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04808/2.348, allocations: 8.548 MB / 1.036 GB, free: 50.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02953/2.378, allocations: 8.58 MB / 1.044 GB, free: 47.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003239/2.381, allocations: 1.024 MB / 1.045 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01168/2.393, allocations: 1.306 MB / 1.047 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08956/2.483, allocations: 24.89 MB / 1.071 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009083/2.484, allocations: 23.45 kB / 1.071 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008036/2.492, allocations: 0.5631 MB / 1.072 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/2.493, allocations: 0.9249 MB / 1.073 GB, free: 25.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07251/2.566, allocations: 22.52 MB / 1.095 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6662/3.232, allocations: 75.48 MB / 1.168 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03015/3.262, allocations: 21.08 MB / 1.189 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09983/3.362, allocations: 37.22 MB / 1.225 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/3.362, allocations: 142.7 kB / 1.225 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1188): time 2.649e-05/3.362, allocations: 0 / 1.225 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1188): time 0.08338/3.446, allocations: 37.21 MB / 1.262 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/3.446, allocations: 176.5 kB / 1.262 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008526/3.455, allocations: 2.946 MB / 1.265 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003526/3.458, allocations: 173.7 kB / 1.265 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00514/3.463, allocations: 4.431 MB / 1.269 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0105/3.474, allocations: 3.858 MB / 1.273 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003246/3.477, allocations: 176 kB / 1.273 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001786/3.479, allocations: 0.75 MB / 1.274 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01735/3.496, allocations: 8.077 MB / 1.282 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02324/3.52, allocations: 9.57 MB / 1.291 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02354/3.543, allocations: 9.411 MB / 1.3 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/3.543, allocations: 8 kB / 1.3 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.5267/4.07, allocations: 24.01 MB / 1.324 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/4.07, allocations: 19.16 kB / 1.324 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/4.07, allocations: 31.66 kB / 1.324 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02493/4.095, allocations: 10.35 MB / 1.334 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007948/4.103, allocations: 1.346 MB / 1.335 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04728/4.151, allocations: 19.54 MB / 1.354 GB, free: 98.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/4.162, allocations: 1.114 MB / 1.355 GB, free: 98.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00466/4.167, allocations: 392.4 kB / 1.356 GB, free: 98.01 MB / 0.5417 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.0231/4.19, allocations: 5.354 MB / 1.361 GB, free: 97.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005971/4.196, allocations: 0.5888 MB / 1.362 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08452/4.281, allocations: 24.7 MB / 1.386 GB, free: 94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001189/4.282, allocations: 328.2 kB / 1.386 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001236/4.282, allocations: 1.375 kB / 1.386 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00053/4.283, allocations: 44.67 kB / 1.386 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1354/4.418, allocations: 43.65 MB / 1.429 GB, free: 76.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002644/4.418, allocations: 0 / 1.429 GB, free: 76.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006849/4.425, allocations: 1.089 MB / 1.43 GB, free: 75.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02525/4.45, allocations: 10.32 MB / 1.44 GB, free: 67.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004678/4.455, allocations: 246.5 kB / 1.44 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.036/4.491, allocations: 19.46 MB / 1.459 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/4.491, allocations: 0 / 1.459 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09076/4.582, allocations: 36.35 MB / 1.495 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01347/4.596, allocations: 2.681 MB / 1.497 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0059/4.602, allocations: 156 kB / 1.497 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01057/4.612, allocations: 0.5255 MB / 1.498 GB, free: 16.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006763/4.619, allocations: 0.8881 MB / 1.499 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004992/4.624, allocations: 309.7 kB / 1.499 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007038/4.631, allocations: 2.252 MB / 1.501 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.41e-07/4.631, allocations: 4 kB / 1.501 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.5309/5.162, allocations: 3.609 MB / 1.505 GB, free: 103.8 MB / 0.5417 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.0051/5.167, allocations: 360.5 kB / 1.505 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05862/5.226, allocations: 20.18 MB / 1.525 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/5.226, allocations: 1.875 kB / 1.525 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03468/5.261, allocations: 11.13 MB / 1.536 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01324/5.274, allocations: 1.158 MB / 1.537 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1083/5.382, allocations: 37.78 MB / 1.574 GB, free: 90.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02221/5.405, allocations: 9.655 MB / 1.583 GB, free: 89.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01003/5.415, allocations: 2.096 MB / 1.585 GB, free: 89.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003286/5.418, allocations: 372.8 kB / 1.585 GB, free: 89.38 MB / 0.5417 GB Notification: Performance of SimCode: time 1.844e-06/5.418, allocations: 1.031 kB / 1.585 GB, free: 89.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.8266/6.245, allocations: 201.2 MB / 1.782 GB, free: 82.22 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1)