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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01367/0.01368, allocations: 169.4 kB / 16.26 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.439/0.439, allocations: 40.01 MB / 310.7 MB, free: 9.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006217/0.0006214, allocations: 16 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1622, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.366/0.5282, allocations: 21.37 MB / 458.8 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.5432, allocations: 5.432 MB / 464.2 MB, free: 33.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006317/0.5496, allocations: 154.6 kB / 464.4 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005389/0.555, allocations: 1.439 MB / 465.8 MB, free: 33.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008857/0.5639, allocations: 2.165 MB / 468 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.5694, allocations: 1.583 MB / 469.6 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01846/0.5879, allocations: 14.74 MB / 484.3 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06748/0.6554, allocations: 33.51 MB / 0.5057 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.6681, allocations: 5.65 MB / 0.5112 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01656/0.6848, allocations: 6.677 MB / 0.5177 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005085/0.6899, allocations: 0.8424 MB / 0.5185 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008234/0.6981, allocations: 1.063 MB / 0.5196 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009936/0.7081, allocations: 3.078 MB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01954/0.7277, allocations: 6.749 MB / 0.5292 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.042/0.7697, allocations: 26.92 MB / 0.5555 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.7697, allocations: 0 / 0.5555 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.7698, allocations: 0 / 0.5555 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008886/0.7707, allocations: 0 / 0.5555 GB, free: 15.93 MB / 430.1 MB 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.05009/0.8208, allocations: 15.69 MB / 0.5708 GB, free: 140 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.8208, allocations: 8.031 kB / 0.5708 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06755/0.8884, allocations: 12.75 MB / 0.5833 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02486/0.9133, allocations: 7.905 MB / 0.591 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00179/0.9151, allocations: 1.068 MB / 0.592 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007862/0.923, allocations: 1.406 MB / 0.5934 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08001/1.003, allocations: 24.12 MB / 0.6169 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008354/1.004, allocations: 15.89 kB / 0.617 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006681/1.011, allocations: 0.5859 MB / 0.6175 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009299/1.012, allocations: 0.7296 MB / 0.6182 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5789/1.591, allocations: 22.5 MB / 0.6402 GB, free: 109.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1574/1.748, allocations: 73.53 MB / 0.712 GB, free: 69.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02907/1.777, allocations: 31.62 MB / 0.7429 GB, free: 39.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009949/1.787, allocations: 5.1 MB / 0.7479 GB, free: 37.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04206/1.829, allocations: 15.85 MB / 0.7634 GB, free: 27.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/1.829, allocations: 90.09 kB / 0.7634 GB, free: 26.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 1.204e-05/1.829, allocations: 3.938 kB / 0.7634 GB, free: 26.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03906/1.868, allocations: 15.82 MB / 0.7789 GB, free: 11.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/1.869, allocations: 124.7 kB / 0.779 GB, free: 10.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/1.881, allocations: 5.256 MB / 0.7841 GB, free: 5.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001321/1.882, allocations: 97.7 kB / 0.7842 GB, free: 5.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003923/1.886, allocations: 6.042 MB / 0.7901 GB, free: 15.47 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.004307/1.89, allocations: 1.59 MB / 0.7917 GB, free: 13.89 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003772/1.894, allocations: 0.6282 MB / 0.7923 GB, free: 13.26 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.894, allocations: 305.1 kB / 0.7926 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008985/1.903, allocations: 4.239 MB / 0.7967 GB, free: 8.719 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/1.915, allocations: 7.584 MB / 0.8041 GB, free: 15.56 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/1.934, allocations: 12.37 MB / 0.8162 GB, free: 1.602 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/1.934, allocations: 32 kB / 0.8163 GB, free: 1.57 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02824/1.962, allocations: 13.5 MB / 0.8294 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.962, allocations: 56 kB / 0.8295 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/1.963, allocations: 112 kB / 0.8296 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007321/1.97, allocations: 3.102 MB / 0.8326 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3817/2.352, allocations: 1.67 MB / 0.8343 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02962/2.382, allocations: 21.94 MB / 0.8557 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009276/2.391, allocations: 1.122 MB / 0.8568 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002519/2.393, allocations: 405 kB / 0.8572 GB, free: 145.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01492/2.408, allocations: 5.46 MB / 0.8625 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002104/2.41, allocations: 0.5046 MB / 0.863 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/2.431, allocations: 9.719 MB / 0.8725 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-05/2.431, allocations: 47.64 kB / 0.8725 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/2.431, allocations: 0 / 0.8725 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/2.431, allocations: 25.16 kB / 0.8726 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05728/2.488, allocations: 20.94 MB / 0.893 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/2.488, allocations: 3.969 kB / 0.893 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/2.491, allocations: 0.7311 MB / 0.8937 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006223/2.498, allocations: 2.968 MB / 0.8966 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000647/2.498, allocations: 93.92 kB / 0.8967 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/2.526, allocations: 21.69 MB / 0.9179 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.526, allocations: 0 / 0.9179 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/2.547, allocations: 14.24 MB / 0.9318 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/2.551, allocations: 1.391 MB / 0.9332 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009316/2.552, allocations: 80 kB / 0.9332 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/2.555, allocations: 398.8 kB / 0.9336 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.556, allocations: 387.6 kB / 0.934 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/2.556, allocations: 132 kB / 0.9341 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006475/2.563, allocations: 3.507 MB / 0.9375 GB, free: 99.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/2.563, allocations: 0 / 0.9375 GB, free: 99.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01533/2.578, allocations: 3.464 MB / 0.9409 GB, free: 95.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_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 (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/2.58, allocations: 252.9 kB / 0.9412 GB, free: 95.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02861/2.609, allocations: 11.6 MB / 0.9525 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.609, allocations: 0 / 0.9525 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01486/2.624, allocations: 6.007 MB / 0.9584 GB, free: 77.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01223/2.636, allocations: 1.203 MB / 0.9595 GB, free: 76.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0766/2.713, allocations: 30.59 MB / 0.9894 GB, free: 45.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02696/2.74, allocations: 9.229 MB / 0.9984 GB, free: 36.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01577/2.755, allocations: 2.94 MB / 1.001 GB, free: 33.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003554/2.759, allocations: 383.4 kB / 1.002 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.404e-06/2.759, allocations: 0 / 1.002 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.5411/3.3, allocations: 107.4 MB / 1.107 GB, free: 106.8 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: