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.001029/0.001029, allocations: 98.48 kB / 17 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 195 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.7 MB / 246.4 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.19 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003068, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 63.57 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02041/0.1598, allocations: 19.65 MB / 0.4903 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.1739, allocations: 5.075 MB / 0.4953 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.1787, allocations: 171.5 kB / 0.4954 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.1835, allocations: 1.009 MB / 0.4964 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009162/0.1927, allocations: 1.849 MB / 0.4982 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005872/0.1986, allocations: 1.459 MB / 0.4996 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3097/0.5082, allocations: 13.54 MB / 0.5129 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0601/0.5684, allocations: 26.55 MB / 0.5388 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009957/0.5784, allocations: 5.515 MB / 0.5442 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.5888, allocations: 6.186 MB / 0.5502 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003742/0.5926, allocations: 0.832 MB / 0.551 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005765/0.5983, allocations: 1.075 MB / 0.5521 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005088/0.6035, allocations: 2.653 MB / 0.5547 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008073/0.6116, allocations: 2.788 MB / 0.5574 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03289/0.6445, allocations: 24.09 MB / 0.5809 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6445, allocations: 0 / 0.5809 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.6446, allocations: 0 / 0.5809 GB, free: 2.797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009391/0.6455, allocations: 0 / 0.5809 GB, free: 2.797 MB / 414.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.04537/0.6909, allocations: 15.67 MB / 0.5962 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.691, allocations: 12.03 kB / 0.5962 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05972/0.7507, allocations: 11.76 MB / 0.6077 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/0.7729, allocations: 8.452 MB / 0.616 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001547/0.7746, allocations: 1.058 MB / 0.617 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006671/0.7812, allocations: 1.377 MB / 0.6183 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08855/0.8698, allocations: 23.5 MB / 0.6413 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008591/0.8708, allocations: 15.91 kB / 0.6413 GB, free: 5.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005447/0.8762, allocations: 0.5648 MB / 0.6419 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/0.8775, allocations: 0.7017 MB / 0.6426 GB, free: 3.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06348/0.941, allocations: 21.63 MB / 0.6637 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8032/1.744, allocations: 72.88 MB / 0.7348 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02254/1.767, allocations: 28.63 MB / 0.7628 GB, free: 96.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008649/1.776, allocations: 4.975 MB / 0.7677 GB, free: 94.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02833/1.804, allocations: 16.51 MB / 0.7838 GB, free: 86.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/1.804, allocations: 92.81 kB / 0.7839 GB, free: 86.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.232e-06/1.804, allocations: 0 / 0.7839 GB, free: 86.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03328/1.837, allocations: 15.6 MB / 0.7991 GB, free: 78.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.837, allocations: 122.6 kB / 0.7992 GB, free: 78.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008738/1.846, allocations: 5.068 MB / 0.8042 GB, free: 76.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.847, allocations: 101.5 kB / 0.8043 GB, free: 76.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003724/1.851, allocations: 5.888 MB / 0.81 GB, free: 70.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.853, allocations: 1.583 MB / 0.8116 GB, free: 69.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/1.854, allocations: 151.8 kB / 0.8117 GB, free: 69.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003863/1.854, allocations: 0.6191 MB / 0.8123 GB, free: 68.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006589/1.861, allocations: 4.145 MB / 0.8164 GB, free: 66.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007834/1.869, allocations: 7.26 MB / 0.8234 GB, free: 60.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/1.877, allocations: 5.603 MB / 0.8289 GB, free: 54.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/1.877, allocations: 32 kB / 0.8289 GB, free: 54.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02324/1.9, allocations: 13.1 MB / 0.8417 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.9, allocations: 52.95 kB / 0.8418 GB, free: 41.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/1.901, allocations: 104 kB / 0.8419 GB, free: 41.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/1.906, allocations: 3.114 MB / 0.8449 GB, free: 38.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.912, allocations: 1.595 MB / 0.8465 GB, free: 36.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02621/1.939, allocations: 21.87 MB / 0.8678 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007369/1.946, allocations: 1.083 MB / 0.8689 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/1.948, allocations: 380 kB / 0.8693 GB, free: 13 MB / 0.5294 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 (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 initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01242/1.96, allocations: 5.392 MB / 0.8745 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002362/1.963, allocations: 0.4938 MB / 0.875 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/1.981, allocations: 9.678 MB / 0.8845 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/1.981, allocations: 48 kB / 0.8845 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.981, allocations: 0 / 0.8845 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.251e-05/1.981, allocations: 23.91 kB / 0.8845 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04808/2.029, allocations: 20.83 MB / 0.9049 GB, free: 8.508 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/2.029, allocations: 0 / 0.9049 GB, free: 8.508 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/2.032, allocations: 0.7372 MB / 0.9056 GB, free: 7.77 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006034/2.038, allocations: 2.958 MB / 0.9085 GB, free: 4.801 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000595/2.039, allocations: 95.98 kB / 0.9086 GB, free: 4.707 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4887/2.528, allocations: 21.66 MB / 0.9297 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/2.528, allocations: 1.641 kB / 0.9297 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03175/2.559, allocations: 14.24 MB / 0.9436 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004785/2.564, allocations: 1.384 MB / 0.945 GB, free: 178.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/2.566, allocations: 78.27 kB / 0.9451 GB, free: 178.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/2.569, allocations: 402.3 kB / 0.9454 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/2.57, allocations: 382.8 kB / 0.9458 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000392/2.571, allocations: 127.7 kB / 0.9459 GB, free: 178.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00724/2.578, allocations: 3.384 MB / 0.9492 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.6e-07/2.578, allocations: 0 / 0.9492 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01592/2.594, allocations: 3.423 MB / 0.9526 GB, free: 176.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/2.596, allocations: 263.4 kB / 0.9528 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02342/2.619, allocations: 11.41 MB / 0.964 GB, free: 172 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.619, allocations: 0 / 0.964 GB, free: 172 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0122/2.632, allocations: 6.001 MB / 0.9698 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/2.643, allocations: 1.215 MB / 0.971 GB, free: 169 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06858/2.712, allocations: 28.96 MB / 0.9993 GB, free: 149.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01856/2.731, allocations: 9.116 MB / 1.008 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009804/2.74, allocations: 2.876 MB / 1.011 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/2.743, allocations: 367.4 kB / 1.011 GB, free: 140.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.914e-06/2.743, allocations: 0 / 1.011 GB, free: 140.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.177/2.92, allocations: 104.5 MB / 1.113 GB, free: 36.21 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)