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.001204/0.001204, allocations: 182.1 kB / 12.74 MB, free: 2.582 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.569/1.569, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001711/0.001711, allocations: 113.1 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2498/0.2498, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.43e-05, allocations: 7.984 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5746, allocations: 106.4 MB / 0.5484 GB, free: 1.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5749, allocations: 82.39 kB / 0.5485 GB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519/2.094, allocations: 470.2 MB / 1.008 GB, free: 16.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/2.094, allocations: 0 / 1.008 GB, free: 16.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00077/2.095, allocations: 299.7 kB / 1.008 GB, free: 15.79 MB / 490.7 MB 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.05403/2.149, allocations: 13.44 MB / 1.021 GB, free: 2.262 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/2.149, allocations: 8.031 kB / 1.021 GB, free: 2.254 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3731/2.522, allocations: 8.504 MB / 1.029 GB, free: 37.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/2.543, allocations: 8.554 MB / 1.038 GB, free: 37.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00209/2.545, allocations: 1.032 MB / 1.039 GB, free: 37.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006311/2.551, allocations: 1.309 MB / 1.04 GB, free: 37.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06238/2.614, allocations: 24.56 MB / 1.064 GB, free: 35.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005281/2.614, allocations: 21.72 kB / 1.064 GB, free: 35.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00643/2.621, allocations: 0.5662 MB / 1.065 GB, free: 35.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/2.622, allocations: 0.9213 MB / 1.066 GB, free: 35.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04411/2.666, allocations: 22.03 MB / 1.087 GB, free: 35.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1406/2.807, allocations: 75.49 MB / 1.161 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0509/2.858, allocations: 22.72 MB / 1.183 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03392/2.892, allocations: 12.55 MB / 1.195 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4196/3.311, allocations: 37.23 MB / 1.232 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.448e-05/3.311, allocations: 133.2 kB / 1.232 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1188): time 1.527e-05/3.312, allocations: 0 / 1.232 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1188): time 0.04131/3.353, allocations: 22.18 MB / 1.253 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/3.353, allocations: 175 kB / 1.254 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/3.359, allocations: 2.91 MB / 1.256 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003332/3.362, allocations: 177.2 kB / 1.257 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004898/3.367, allocations: 4.429 MB / 1.261 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.007731/3.375, allocations: 3.862 MB / 1.265 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002711/3.378, allocations: 175.4 kB / 1.265 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001622/3.379, allocations: 0.7448 MB / 1.266 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02284/3.402, allocations: 7.91 MB / 1.273 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02571/3.428, allocations: 9.399 MB / 1.282 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02509/3.453, allocations: 9.249 MB / 1.291 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.831e-05/3.453, allocations: 9.969 kB / 1.291 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.04369/3.497, allocations: 23.57 MB / 1.314 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/3.497, allocations: 23.8 kB / 1.314 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.024e-05/3.497, allocations: 34.31 kB / 1.315 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0201/3.517, allocations: 10.26 MB / 1.325 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00642/3.524, allocations: 1.363 MB / 1.326 GB, free: 68.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02649/3.55, allocations: 19.46 MB / 1.345 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00801/3.558, allocations: 1.116 MB / 1.346 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002805/3.561, allocations: 391.3 kB / 1.346 GB, free: 59.04 MB / 0.5261 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 () * 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.002537/3.564, allocations: 0.5458 MB / 1.347 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/3.566, allocations: 0.5938 MB / 1.347 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04233/3.608, allocations: 24.33 MB / 1.371 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004182/3.608, allocations: 324.7 kB / 1.372 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/3.609, allocations: 4 kB / 1.372 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001825/3.609, allocations: 44.44 kB / 1.372 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08487/3.694, allocations: 43.29 MB / 1.414 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001044/3.694, allocations: 4 kB / 1.414 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005584/3.699, allocations: 1.08 MB / 1.415 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03002/3.729, allocations: 11.01 MB / 1.426 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003014/3.732, allocations: 247.3 kB / 1.426 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4055/4.138, allocations: 19.45 MB / 1.445 GB, free: 91.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/4.138, allocations: 4.391 kB / 1.445 GB, free: 91.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1041/4.242, allocations: 35.83 MB / 1.48 GB, free: 90.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008668/4.251, allocations: 2.679 MB / 1.482 GB, free: 90.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003809/4.255, allocations: 155.6 kB / 1.483 GB, free: 90.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007123/4.262, allocations: 0.5295 MB / 1.483 GB, free: 90.31 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004038/4.266, allocations: 0.8859 MB / 1.484 GB, free: 90.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002213/4.268, allocations: 310.2 kB / 1.484 GB, free: 90.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003866/4.272, allocations: 2.219 MB / 1.486 GB, free: 90.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.41e-07/4.272, allocations: 0 / 1.486 GB, free: 90.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0144/4.287, allocations: 3.464 MB / 1.49 GB, free: 89.76 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 () * 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.00379/4.29, allocations: 363.2 kB / 1.49 GB, free: 89.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03987/4.33, allocations: 19.83 MB / 1.51 GB, free: 89.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/4.33, allocations: 0 / 1.51 GB, free: 89.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02326/4.354, allocations: 10.95 MB / 1.52 GB, free: 85.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009177/4.363, allocations: 1.158 MB / 1.521 GB, free: 85.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06137/4.424, allocations: 28.31 MB / 1.549 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01609/4.44, allocations: 9.648 MB / 1.558 GB, free: 66.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007689/4.448, allocations: 2.096 MB / 1.561 GB, free: 64.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/4.45, allocations: 378.7 kB / 1.561 GB, free: 64.41 MB / 0.5417 GB Notification: Performance of SimCode: time 8.61e-07/4.45, allocations: 4 kB / 1.561 GB, free: 64.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.6541/5.104, allocations: 186.7 MB / 1.743 GB, free: 74.78 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)