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.00176/0.00176, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002477/0.002477, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.993/1.993, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.5672/0.5672, allocations: 39.94 MB / 309.7 MB, free: 9.258 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.002102/0.002102, allocations: 71.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1936, allocations: 56.88 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.3175/0.5111, allocations: 22.87 MB / 457.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.527, allocations: 5.51 MB / 462.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006754/0.5339, allocations: 163.7 kB / 463 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01906/0.553, allocations: 9.5 MB / 472.5 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.5647, allocations: 2.381 MB / 474.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006708/0.5714, allocations: 1.705 MB / 476.6 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.5881, allocations: 14.57 MB / 491.2 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06506/0.6532, allocations: 34.47 MB / 0.5133 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/0.6699, allocations: 8.041 MB / 0.5212 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02414/0.6941, allocations: 8.853 MB / 0.5298 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01174/0.7059, allocations: 2.117 MB / 0.5319 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/0.722, allocations: 2.345 MB / 0.5342 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01062/0.7326, allocations: 4.397 MB / 0.5385 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02368/0.7564, allocations: 8.522 MB / 0.5468 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04712/0.8035, allocations: 28.53 MB / 0.5747 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.8036, allocations: 8 kB / 0.5747 GB, free: 10.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.8036, allocations: 0 / 0.5747 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001144/0.8048, allocations: 0 / 0.5747 GB, free: 10.16 MB / 446.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.06621/0.871, allocations: 18.93 MB / 0.5932 GB, free: 7.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.8711, allocations: 11.89 kB / 0.5932 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0679/0.939, allocations: 12.68 MB / 0.6056 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02689/0.9659, allocations: 7.901 MB / 0.6133 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002452/0.9685, allocations: 1.072 MB / 0.6143 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009935/0.9784, allocations: 1.402 MB / 0.6157 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6917/1.67, allocations: 24.09 MB / 0.6392 GB, free: 92.28 MB / 494.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001557/1.672, allocations: 23.83 kB / 0.6392 GB, free: 92.28 MB / 494.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007557/1.679, allocations: 0.5774 MB / 0.6398 GB, free: 92.28 MB / 494.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001274/1.681, allocations: 0.7327 MB / 0.6405 GB, free: 92.25 MB / 494.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06476/1.746, allocations: 22.44 MB / 0.6624 GB, free: 86.75 MB / 494.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1552/1.901, allocations: 73.28 MB / 0.734 GB, free: 40.7 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02431/1.925, allocations: 31.62 MB / 0.7649 GB, free: 6.789 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008394/1.934, allocations: 5.068 MB / 0.7698 GB, free: 1.695 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.033/1.967, allocations: 15.84 MB / 0.7853 GB, free: 1.875 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.314e-05/1.967, allocations: 87.11 kB / 0.7854 GB, free: 1.785 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=465): time 6.482e-06/1.967, allocations: 0 / 0.7854 GB, free: 1.785 MB / 0.4982 GB Notification: Performance of matching and sorting (n=465): time 0.0406/2.007, allocations: 15.66 MB / 0.8007 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/2.008, allocations: 120.7 kB / 0.8008 GB, free: 1.918 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/2.02, allocations: 5.257 MB / 0.8059 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/2.021, allocations: 105.7 kB / 0.806 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005532/2.027, allocations: 6.041 MB / 0.8119 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002849/2.03, allocations: 1.593 MB / 0.8135 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005976/2.036, allocations: 1.598 MB / 0.815 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001063/2.036, allocations: 301.1 kB / 0.8153 GB, free: 3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008085/2.044, allocations: 4.204 MB / 0.8194 GB, free: 14.8 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/2.055, allocations: 7.557 MB / 0.8268 GB, free: 5.719 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01931/2.075, allocations: 12.31 MB / 0.8388 GB, free: 8.281 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/2.075, allocations: 33.2 kB / 0.8389 GB, free: 8.25 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.3703/2.445, allocations: 13.44 MB / 0.852 GB, free: 178 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/2.445, allocations: 53.78 kB / 0.852 GB, free: 178 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/2.445, allocations: 115.9 kB / 0.8522 GB, free: 178 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005784/2.451, allocations: 3.117 MB / 0.8552 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/2.457, allocations: 1.673 MB / 0.8568 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007166/2.458, allocations: 321.5 kB / 0.8571 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008376/2.466, allocations: 1.1 MB / 0.8582 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/2.468, allocations: 403.9 kB / 0.8586 GB, free: 177.7 MB / 0.5607 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.01178/2.48, allocations: 5.46 MB / 0.8639 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/2.482, allocations: 0.5069 MB / 0.8644 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/2.499, allocations: 9.662 MB / 0.8739 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-05/2.499, allocations: 51.78 kB / 0.8739 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.273e-05/2.499, allocations: 1.188 kB / 0.8739 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.711e-05/2.499, allocations: 26.14 kB / 0.8739 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05502/2.555, allocations: 20.87 MB / 0.8943 GB, free: 164.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/2.555, allocations: 12.05 kB / 0.8943 GB, free: 164.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003718/2.558, allocations: 0.7304 MB / 0.895 GB, free: 164.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006428/2.565, allocations: 2.979 MB / 0.898 GB, free: 164.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/2.566, allocations: 97.41 kB / 0.898 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006373/2.567, allocations: 132.2 kB / 0.8982 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.567, allocations: 0.9375 kB / 0.8982 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02606/2.593, allocations: 14.15 MB / 0.912 GB, free: 158.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003921/2.597, allocations: 1.367 MB / 0.9133 GB, free: 157.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/2.598, allocations: 83.41 kB / 0.9134 GB, free: 157.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003992/2.602, allocations: 368.5 kB / 0.9138 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.604, allocations: 318.4 kB / 0.9141 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006277/2.604, allocations: 133 kB / 0.9142 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00816/2.612, allocations: 3.499 MB / 0.9176 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.11e-07/2.613, allocations: 0 / 0.9176 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01247/2.625, allocations: 3.231 MB / 0.9208 GB, free: 155.3 MB / 0.5607 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.001523/2.627, allocations: 269.3 kB / 0.921 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.03685/2.663, allocations: 19.75 MB / 0.9403 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/2.663, allocations: 1 kB / 0.9403 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008392/2.672, allocations: 4.451 MB / 0.9447 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009434/2.681, allocations: 1.276 MB / 0.9459 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05372/2.735, allocations: 24.62 MB / 0.97 GB, free: 113.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01778/2.753, allocations: 9.109 MB / 0.9788 GB, free: 105 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01064/2.764, allocations: 2.944 MB / 0.9817 GB, free: 102 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/2.766, allocations: 387.4 kB / 0.9821 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.072e-06/2.766, allocations: 2.844 kB / 0.9821 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.4551/3.221, allocations: 98.14 MB / 1.078 GB, free: 165.5 MB / 0.5607 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)