Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001286, allocations: 92.28 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 206.3 kB / 18.29 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.7 MB / 246.8 MB, free: 9.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.000295, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02635/0.1911, allocations: 21.26 MB / 0.4925 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.2086, allocations: 5.429 MB / 0.4978 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006079/0.2147, allocations: 179.4 kB / 0.498 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005268/0.22, allocations: 1.423 MB / 0.4994 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.229, allocations: 1.951 MB / 0.5013 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.2342, allocations: 1.766 MB / 0.503 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2694/0.5036, allocations: 14.47 MB / 0.5171 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06772/0.5713, allocations: 33.48 MB / 0.5498 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.5859, allocations: 5.578 MB / 0.5553 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0128/0.5987, allocations: 6.561 MB / 0.5617 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003586/0.6024, allocations: 0.832 MB / 0.5625 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007362/0.6098, allocations: 1.087 MB / 0.5636 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005129/0.6149, allocations: 2.7 MB / 0.5662 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01419/0.6291, allocations: 6.658 MB / 0.5727 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0392/0.6684, allocations: 26.92 MB / 0.599 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.6685, allocations: 4 kB / 0.599 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.324e-06/0.6685, allocations: 0 / 0.599 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001357/0.6699, allocations: 4 kB / 0.599 GB, free: 11.92 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05499/0.7249, allocations: 15.51 MB / 0.6141 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.725, allocations: 16.02 kB / 0.6142 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06337/0.7884, allocations: 11.77 MB / 0.6257 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/0.8078, allocations: 8.554 MB / 0.634 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001406/0.8092, allocations: 1.062 MB / 0.635 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006455/0.8157, allocations: 1.365 MB / 0.6364 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07996/0.8957, allocations: 23.62 MB / 0.6594 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009236/0.8967, allocations: 26.7 kB / 0.6595 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00702/0.9037, allocations: 0.5729 MB / 0.66 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/0.9049, allocations: 0.6978 MB / 0.6607 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0559/0.9608, allocations: 21.74 MB / 0.6819 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7657/1.727, allocations: 72.93 MB / 0.7532 GB, free: 118 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02256/1.749, allocations: 28.66 MB / 0.7811 GB, free: 91.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01156/1.761, allocations: 4.991 MB / 0.786 GB, free: 89.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04924/1.81, allocations: 16.52 MB / 0.8022 GB, free: 78.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.569e-05/1.81, allocations: 89.64 kB / 0.8022 GB, free: 78.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 1.39e-05/1.81, allocations: 0 / 0.8022 GB, free: 78.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.05184/1.862, allocations: 15.86 MB / 0.8177 GB, free: 64.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.862, allocations: 128.6 kB / 0.8179 GB, free: 64.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/1.877, allocations: 5.105 MB / 0.8228 GB, free: 59.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001912/1.879, allocations: 97.7 kB / 0.8229 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004988/1.884, allocations: 5.889 MB / 0.8287 GB, free: 53.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002747/1.887, allocations: 1.587 MB / 0.8302 GB, free: 51.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002973/1.89, allocations: 0.608 MB / 0.8308 GB, free: 51.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/1.89, allocations: 301.1 kB / 0.8311 GB, free: 50.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007744/1.898, allocations: 4.168 MB / 0.8352 GB, free: 46.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.909, allocations: 7.289 MB / 0.8423 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/1.925, allocations: 11.99 MB / 0.854 GB, free: 24.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/1.925, allocations: 32 kB / 0.8541 GB, free: 24.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0316/1.957, allocations: 13.15 MB / 0.8669 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002378/1.957, allocations: 48 kB / 0.8669 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002914/1.958, allocations: 104 kB / 0.867 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00704/1.965, allocations: 3.094 MB / 0.8701 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/1.971, allocations: 1.599 MB / 0.8716 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03267/2.004, allocations: 21.93 MB / 0.893 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/2.013, allocations: 1.084 MB / 0.8941 GB, free: 15.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/2.015, allocations: 379.9 kB / 0.8945 GB, free: 14.72 MB / 0.5607 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.01431/2.029, allocations: 5.384 MB / 0.8997 GB, free: 9.316 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00284/2.032, allocations: 0.4977 MB / 0.9002 GB, free: 8.812 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02049/2.053, allocations: 9.698 MB / 0.9097 GB, free: 15.08 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/2.053, allocations: 51.94 kB / 0.9097 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/2.053, allocations: 0 / 0.9097 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/2.053, allocations: 23.91 kB / 0.9097 GB, free: 15.01 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4103/2.463, allocations: 20.84 MB / 0.9301 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/2.463, allocations: 3.906 kB / 0.9301 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/2.466, allocations: 0.7312 MB / 0.9308 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006756/2.473, allocations: 2.967 MB / 0.9337 GB, free: 189.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006019/2.474, allocations: 99.19 kB / 0.9338 GB, free: 189.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02933/2.503, allocations: 21.7 MB / 0.955 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/2.503, allocations: 0 / 0.955 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/2.526, allocations: 14.28 MB / 0.969 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003886/2.53, allocations: 1.392 MB / 0.9703 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/2.531, allocations: 75.41 kB / 0.9704 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/2.534, allocations: 395.6 kB / 0.9708 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/2.536, allocations: 378.4 kB / 0.9711 GB, free: 173 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/2.536, allocations: 130.8 kB / 0.9712 GB, free: 173 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00532/2.541, allocations: 3.423 MB / 0.9746 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.543e-06/2.541, allocations: 0 / 0.9746 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01171/2.553, allocations: 3.426 MB / 0.9779 GB, free: 170.8 MB / 0.5763 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.001162/2.554, allocations: 262.6 kB / 0.9782 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.573, allocations: 11.46 MB / 0.9894 GB, free: 159.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.573, allocations: 0 / 0.9894 GB, free: 159.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/2.584, allocations: 6.022 MB / 0.9953 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/2.594, allocations: 1.186 MB / 0.9964 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06832/2.662, allocations: 30.21 MB / 1.026 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02686/2.689, allocations: 9.122 MB / 1.035 GB, free: 113.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01465/2.704, allocations: 2.873 MB / 1.038 GB, free: 110.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003017/2.707, allocations: 379.3 kB / 1.038 GB, free: 109.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.813e-06/2.707, allocations: 0 / 1.038 GB, free: 109.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.5146/3.222, allocations: 106.7 MB / 1.142 GB, free: 171.9 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1)