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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002141/0.002141, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.896/1.896, allocations: 205.1 MB / 222 MB, free: 4.754 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.429/0.429, allocations: 39.93 MB / 309.3 MB, free: 9.328 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.001853/0.001853, allocations: 59.91 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1973, allocations: 56.89 MB / 433.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.3543/0.5517, allocations: 22.47 MB / 456.3 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01733/0.5692, allocations: 5.463 MB / 461.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007128/0.5763, allocations: 152.9 kB / 461.9 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01815/0.5946, allocations: 9.021 MB / 470.9 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009903/0.6045, allocations: 2.173 MB / 473.1 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006014/0.6105, allocations: 1.603 MB / 474.7 MB, free: 31.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02057/0.6311, allocations: 14.75 MB / 489.4 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05065/0.6818, allocations: 29.08 MB / 0.5064 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/0.7001, allocations: 7.068 MB / 0.5133 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01837/0.7185, allocations: 8.535 MB / 0.5216 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006424/0.725, allocations: 1.516 MB / 0.5231 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.7357, allocations: 1.748 MB / 0.5248 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009568/0.7453, allocations: 3.751 MB / 0.5284 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02609/0.7715, allocations: 7.869 MB / 0.5361 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04081/0.8123, allocations: 28.05 MB / 0.5635 GB, free: 5.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.8124, allocations: 0 / 0.5635 GB, free: 5.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8125, allocations: 0 / 0.5635 GB, free: 5.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001444/0.8139, allocations: 0 / 0.5635 GB, free: 5.238 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.0686/0.8825, allocations: 18.92 MB / 0.582 GB, free: 2.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.8826, allocations: 8.031 kB / 0.582 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06471/0.9473, allocations: 12.68 MB / 0.5944 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/0.9678, allocations: 7.901 MB / 0.6021 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/0.9691, allocations: 1.076 MB / 0.6032 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007466/0.9766, allocations: 1.398 MB / 0.6045 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07693/1.054, allocations: 24.1 MB / 0.6281 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000681/1.054, allocations: 19.84 kB / 0.6281 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007331/1.062, allocations: 0.5781 MB / 0.6286 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/1.063, allocations: 0.7335 MB / 0.6294 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5897/1.653, allocations: 22.43 MB / 0.6513 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/1.814, allocations: 73.3 MB / 0.7228 GB, free: 69.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02626/1.84, allocations: 31.61 MB / 0.7537 GB, free: 36.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00833/1.849, allocations: 5.072 MB / 0.7587 GB, free: 31.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02719/1.876, allocations: 15.84 MB / 0.7741 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.769e-05/1.876, allocations: 86.05 kB / 0.7742 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 6.913e-06/1.876, allocations: 3.938 kB / 0.7742 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03548/1.912, allocations: 15.65 MB / 0.7895 GB, free: 15.47 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/1.912, allocations: 124.7 kB / 0.7896 GB, free: 15.33 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.923, allocations: 5.256 MB / 0.7948 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001676/1.924, allocations: 97.7 kB / 0.7949 GB, free: 9.977 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005249/1.93, allocations: 6.048 MB / 0.8008 GB, free: 3.895 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002997/1.933, allocations: 1.59 MB / 0.8023 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00329/1.936, allocations: 1.598 MB / 0.8039 GB, free: 0.6914 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.936, allocations: 305.1 kB / 0.8042 GB, free: 400 kB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008198/1.944, allocations: 4.211 MB / 0.8083 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/1.955, allocations: 7.554 MB / 0.8157 GB, free: 3.047 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02216/1.978, allocations: 12.31 MB / 0.8277 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001939/1.978, allocations: 32 kB / 0.8277 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.404/2.382, allocations: 13.45 MB / 0.8408 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/2.382, allocations: 54.34 kB / 0.8409 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/2.382, allocations: 110.1 kB / 0.841 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/2.389, allocations: 3.105 MB / 0.844 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/2.395, allocations: 1.667 MB / 0.8457 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007718/2.396, allocations: 326.2 kB / 0.846 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008603/2.405, allocations: 1.111 MB / 0.847 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/2.406, allocations: 402.6 kB / 0.8474 GB, free: 152.2 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.01356/2.42, allocations: 5.463 MB / 0.8528 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/2.422, allocations: 0.5072 MB / 0.8533 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/2.442, allocations: 9.665 MB / 0.8627 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.085e-05/2.442, allocations: 47.41 kB / 0.8627 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/2.442, allocations: 0 / 0.8627 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/2.442, allocations: 30.06 kB / 0.8628 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06236/2.504, allocations: 20.87 MB / 0.8832 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/2.505, allocations: 7.969 kB / 0.8832 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/2.508, allocations: 0.7293 MB / 0.8839 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006219/2.515, allocations: 2.962 MB / 0.8868 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/2.516, allocations: 99.2 kB / 0.8869 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005157/2.516, allocations: 127.8 kB / 0.887 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.516, allocations: 0 / 0.887 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/2.537, allocations: 14.15 MB / 0.9008 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004603/2.541, allocations: 1.373 MB / 0.9021 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.543, allocations: 84.25 kB / 0.9022 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/2.547, allocations: 380.8 kB / 0.9026 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008207/2.548, allocations: 314.5 kB / 0.9029 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003273/2.548, allocations: 126.6 kB / 0.903 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007693/2.556, allocations: 3.507 MB / 0.9064 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.92e-07/2.556, allocations: 4 kB / 0.9064 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01317/2.569, allocations: 3.228 MB / 0.9096 GB, free: 126.4 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.001953/2.571, allocations: 251.7 kB / 0.9098 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01972/2.591, allocations: 10.01 MB / 0.9196 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/2.591, allocations: 0 / 0.9196 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009782/2.6, allocations: 4.453 MB / 0.924 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/2.611, allocations: 1.202 MB / 0.9251 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06308/2.674, allocations: 30.44 MB / 0.9549 GB, free: 82.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0235/2.698, allocations: 9.12 MB / 0.9638 GB, free: 73.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00937/2.707, allocations: 2.933 MB / 0.9666 GB, free: 70.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/2.709, allocations: 383.4 kB / 0.967 GB, free: 69.85 MB / 0.5294 GB Notification: Performance of SimCode: time 2.555e-06/2.709, allocations: 0 / 0.967 GB, free: 69.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.4744/3.183, allocations: 93.92 MB / 1.059 GB, free: 134.1 MB / 0.5294 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)