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.0009276/0.0009276, allocations: 100.2 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2852/0.2852, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.00027, allocations: 4 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 63.46 MB / 481.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0195/0.1662, allocations: 18.24 MB / 499.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.1814, allocations: 5.275 MB / 0.4931 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00557/0.187, allocations: 163.5 kB / 0.4932 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005209/0.1922, allocations: 1.084 MB / 0.4943 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008431/0.2007, allocations: 1.779 MB / 0.496 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005537/0.2063, allocations: 1.471 MB / 0.4975 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0162/0.2225, allocations: 9.258 MB / 0.5065 GB, free: 60 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5197/0.7422, allocations: 26.27 MB / 0.5322 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009991/0.7522, allocations: 5.024 MB / 0.5371 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.7639, allocations: 5.641 MB / 0.5426 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005521/0.7695, allocations: 0.8311 MB / 0.5434 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006393/0.7759, allocations: 1.03 MB / 0.5444 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004438/0.7804, allocations: 2.581 MB / 0.5469 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005703/0.7861, allocations: 2.788 MB / 0.5496 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02945/0.8156, allocations: 24.06 MB / 0.5731 GB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8156, allocations: 0 / 0.5731 GB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8157, allocations: 0 / 0.5731 GB, free: 9.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007971/0.8165, allocations: 0 / 0.5731 GB, free: 9.398 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.05088/0.8673, allocations: 15.65 MB / 0.5884 GB, free: 9.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.8674, allocations: 8.031 kB / 0.5884 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06102/0.9284, allocations: 11.77 MB / 0.5999 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02577/0.9543, allocations: 8.45 MB / 0.6082 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/0.9557, allocations: 1.06 MB / 0.6092 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007819/0.9635, allocations: 1.371 MB / 0.6105 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07268/1.036, allocations: 23.36 MB / 0.6334 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008008/1.037, allocations: 19.84 kB / 0.6334 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007005/1.044, allocations: 0.5728 MB / 0.6339 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009163/1.045, allocations: 0.7017 MB / 0.6346 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05297/1.098, allocations: 21.59 MB / 0.6557 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5032/1.601, allocations: 72.48 MB / 0.7265 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.023/1.624, allocations: 28.6 MB / 0.7544 GB, free: 99.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0312/1.656, allocations: 16.18 MB / 0.7702 GB, free: 93.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.656, allocations: 77.55 kB / 0.7703 GB, free: 93.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 5.831e-06/1.656, allocations: 3.906 kB / 0.7703 GB, free: 93.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.0336/1.689, allocations: 15.4 MB / 0.7853 GB, free: 88.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/1.689, allocations: 125.8 kB / 0.7855 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/1.698, allocations: 5.002 MB / 0.7903 GB, free: 85.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/1.699, allocations: 101.6 kB / 0.7904 GB, free: 85.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003889/1.703, allocations: 5.899 MB / 0.7962 GB, free: 80.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.706, allocations: 1.584 MB / 0.7977 GB, free: 79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/1.706, allocations: 156 kB / 0.7979 GB, free: 78.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004034/1.707, allocations: 0.6232 MB / 0.7985 GB, free: 78.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005794/1.712, allocations: 4.115 MB / 0.8025 GB, free: 76.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009285/1.722, allocations: 7.247 MB / 0.8096 GB, free: 69.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009484/1.731, allocations: 5.599 MB / 0.8151 GB, free: 66.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.731, allocations: 31.06 kB / 0.8151 GB, free: 66.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02285/1.754, allocations: 13.08 MB / 0.8279 GB, free: 54.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/1.754, allocations: 52 kB / 0.8279 GB, free: 54.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002698/1.755, allocations: 104 kB / 0.828 GB, free: 54.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007443/1.762, allocations: 3.057 MB / 0.831 GB, free: 51.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007446/1.77, allocations: 1.614 MB / 0.8326 GB, free: 49.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.784, allocations: 11.12 MB / 0.8434 GB, free: 38.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007485/1.791, allocations: 1.077 MB / 0.8445 GB, free: 37.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002015/1.794, allocations: 391.9 kB / 0.8449 GB, free: 37.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (820): * Single equations (assignments): 817 * 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.01271/1.806, allocations: 5.39 MB / 0.8501 GB, free: 31.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002563/1.809, allocations: 0.4938 MB / 0.8506 GB, free: 31.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/1.827, allocations: 9.603 MB / 0.86 GB, free: 21.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/1.827, allocations: 44 kB / 0.86 GB, free: 21.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.827, allocations: 4 kB / 0.86 GB, free: 21.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/1.827, allocations: 23.91 kB / 0.8601 GB, free: 21.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04281/1.87, allocations: 20.57 MB / 0.8801 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.87, allocations: 0 / 0.8801 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/1.873, allocations: 0.7411 MB / 0.8809 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005883/1.879, allocations: 2.92 MB / 0.8837 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006107/1.879, allocations: 99.91 kB / 0.8838 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.893, allocations: 10.92 MB / 0.8945 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.894, allocations: 3.984 kB / 0.8945 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02324/1.917, allocations: 14.12 MB / 0.9083 GB, free: 3.898 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004586/1.921, allocations: 1.317 MB / 0.9096 GB, free: 2.555 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/1.923, allocations: 83.94 kB / 0.9096 GB, free: 2.473 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/1.927, allocations: 391.6 kB / 0.91 GB, free: 2.09 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/1.928, allocations: 335.3 kB / 0.9103 GB, free: 1.762 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/1.929, allocations: 136 kB / 0.9105 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00817/1.937, allocations: 3.345 MB / 0.9137 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.02e-07/1.937, allocations: 0 / 0.9137 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01731/1.954, allocations: 3.256 MB / 0.9169 GB, free: 11.02 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.001889/1.956, allocations: 266.4 kB / 0.9172 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02386/1.98, allocations: 10.43 MB / 0.9274 GB, free: 304 kB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.98, allocations: 0 / 0.9274 GB, free: 304 kB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.3484/2.329, allocations: 5.011 MB / 0.9323 GB, free: 189.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00836/2.337, allocations: 1.129 MB / 0.9334 GB, free: 189.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06555/2.403, allocations: 28.64 MB / 0.9613 GB, free: 176 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02753/2.43, allocations: 9.262 MB / 0.9704 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01637/2.447, allocations: 2.872 MB / 0.9732 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003133/2.45, allocations: 375.7 kB / 0.9735 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of SimCode: time 2.885e-06/2.45, allocations: 0 / 0.9735 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.1509/2.601, allocations: 90.19 MB / 1.062 GB, free: 91.3 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)