Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008292, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.000957/0.0009572, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.24 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003143, allocations: 4 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01984/0.135, allocations: 21.23 MB / 493.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1461, allocations: 5.37 MB / 498.9 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.1509, allocations: 183.4 kB / 499 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.1555, allocations: 1.427 MB / 0.4887 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008598/0.1642, allocations: 2.093 MB / 0.4908 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005272/0.1695, allocations: 1.577 MB / 0.4923 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.4495/0.619, allocations: 14.47 MB / 0.5064 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05278/0.6718, allocations: 33.47 MB / 0.5391 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.6822, allocations: 5.577 MB / 0.5446 GB, free: 420 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.6956, allocations: 6.564 MB / 0.551 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003825/0.6995, allocations: 0.832 MB / 0.5518 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006762/0.7063, allocations: 1.066 MB / 0.5528 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004861/0.7112, allocations: 2.706 MB / 0.5555 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01391/0.7251, allocations: 6.655 MB / 0.562 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03195/0.7571, allocations: 26.89 MB / 0.5883 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7571, allocations: 0 / 0.5883 GB, free: 6.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7571, allocations: 0 / 0.5883 GB, free: 6.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009195/0.7581, allocations: 0 / 0.5883 GB, free: 6.863 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05007/0.8082, allocations: 15.52 MB / 0.6034 GB, free: 7.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.8082, allocations: 16.03 kB / 0.6034 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06073/0.869, allocations: 11.76 MB / 0.6149 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/0.8895, allocations: 8.55 MB / 0.6233 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001411/0.8909, allocations: 1.061 MB / 0.6243 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006188/0.8971, allocations: 1.373 MB / 0.6256 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06645/0.9636, allocations: 23.61 MB / 0.6487 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009566/0.9646, allocations: 19.89 kB / 0.6487 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00624/0.9709, allocations: 0.5672 MB / 0.6493 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008637/0.9718, allocations: 0.7095 MB / 0.65 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05238/1.024, allocations: 21.74 MB / 0.6712 GB, free: 2.383 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4426/1.467, allocations: 71.95 MB / 0.7414 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0223/1.489, allocations: 28.68 MB / 0.7695 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007792/1.497, allocations: 4.989 MB / 0.7743 GB, free: 81.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03026/1.527, allocations: 15.7 MB / 0.7897 GB, free: 73.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/1.527, allocations: 85.22 kB / 0.7897 GB, free: 73.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 1.158e-05/1.527, allocations: 3.984 kB / 0.7897 GB, free: 73.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03784/1.565, allocations: 15.86 MB / 0.8052 GB, free: 64.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/1.565, allocations: 123.7 kB / 0.8053 GB, free: 64.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/1.576, allocations: 5.108 MB / 0.8103 GB, free: 59.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.578, allocations: 97.7 kB / 0.8104 GB, free: 59.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/1.581, allocations: 5.894 MB / 0.8162 GB, free: 53.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002145/1.583, allocations: 1.585 MB / 0.8177 GB, free: 52.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/1.585, allocations: 0.6049 MB / 0.8183 GB, free: 51.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/1.585, allocations: 301.1 kB / 0.8186 GB, free: 51.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007786/1.593, allocations: 4.174 MB / 0.8227 GB, free: 46.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008582/1.602, allocations: 7.284 MB / 0.8298 GB, free: 38.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.617, allocations: 12 MB / 0.8415 GB, free: 25.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/1.617, allocations: 28 kB / 0.8415 GB, free: 25.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02449/1.641, allocations: 13.16 MB / 0.8544 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.641, allocations: 59.92 kB / 0.8544 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/1.642, allocations: 101.1 kB / 0.8545 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006086/1.648, allocations: 3.091 MB / 0.8576 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005693/1.653, allocations: 1.595 MB / 0.8591 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03131/1.685, allocations: 21.93 MB / 0.8805 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006735/1.692, allocations: 1.078 MB / 0.8816 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.693, allocations: 380 kB / 0.882 GB, free: 220 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.01094/1.704, allocations: 5.389 MB / 0.8872 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.706, allocations: 0.4976 MB / 0.8877 GB, free: 10.42 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/1.726, allocations: 9.692 MB / 0.8972 GB, free: 0.7031 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/1.726, allocations: 48 kB / 0.8972 GB, free: 0.6562 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.726, allocations: 3.984 kB / 0.8972 GB, free: 0.6523 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.198e-05/1.726, allocations: 27.84 kB / 0.8972 GB, free: 0.625 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04834/1.774, allocations: 20.85 MB / 0.9176 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/1.774, allocations: 6.672 kB / 0.9176 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/1.778, allocations: 0.7342 MB / 0.9183 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006997/1.785, allocations: 2.973 MB / 0.9212 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001304/1.786, allocations: 99.55 kB / 0.9213 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3406/2.127, allocations: 21.69 MB / 0.9425 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.127, allocations: 0.5312 kB / 0.9425 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/2.151, allocations: 14.29 MB / 0.9565 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003652/2.155, allocations: 1.386 MB / 0.9578 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009407/2.156, allocations: 81.5 kB / 0.9579 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/2.159, allocations: 403.7 kB / 0.9583 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/2.16, allocations: 375.2 kB / 0.9586 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/2.16, allocations: 135.7 kB / 0.9588 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00474/2.165, allocations: 3.42 MB / 0.9621 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/2.165, allocations: 2.562 kB / 0.9621 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008431/2.173, allocations: 3.423 MB / 0.9654 GB, free: 197.3 MB / 0.5919 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.0006941/2.174, allocations: 252.4 kB / 0.9657 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01673/2.191, allocations: 11.44 MB / 0.9769 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/2.191, allocations: 5.344 kB / 0.9769 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00932/2.2, allocations: 6.027 MB / 0.9828 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009278/2.209, allocations: 1.18 MB / 0.9839 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04984/2.259, allocations: 30.12 MB / 1.013 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/2.272, allocations: 9.121 MB / 1.022 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009019/2.281, allocations: 2.873 MB / 1.025 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/2.283, allocations: 371.4 kB / 1.025 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/2.283, allocations: 4 kB / 1.025 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1616/2.445, allocations: 106.7 MB / 1.13 GB, free: 44.79 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1)