Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_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.0009349/0.000935, allocations: 95.89 kB / 15.68 MB, free: 488 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.0009899/0.0009901, allocations: 179.6 kB / 16.57 MB, free: 6.844 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.335/1.335, allocations: 205.4 MB / 222.7 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3305/0.3305, allocations: 43.55 MB / 314.5 MB, free: 8.617 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: Performance of FrontEnd - loaded program: time 0.0004983/0.0004982, allocations: 12 kB / 383.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 58.86 MB / 442.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2024/0.3132, allocations: 18.34 MB / 461.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.3226, allocations: 5.268 MB / 466.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.3251, allocations: 149.6 kB / 466.5 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.3274, allocations: 1.109 MB / 467.6 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.3321, allocations: 1.968 MB / 469.6 MB, free: 35.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.3354, allocations: 1.303 MB / 470.9 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009987/0.3454, allocations: 9.37 MB / 480.3 MB, free: 30.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04062/0.386, allocations: 26.32 MB / 0.4947 GB, free: 18.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.3981, allocations: 5.088 MB / 0.4997 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.4107, allocations: 5.699 MB / 0.5052 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004222/0.415, allocations: 0.8418 MB / 0.5061 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/0.4217, allocations: 1.023 MB / 0.5071 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00451/0.4263, allocations: 2.634 MB / 0.5096 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005883/0.4322, allocations: 2.819 MB / 0.5124 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0258/0.458, allocations: 24 MB / 0.5358 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.458, allocations: 4 kB / 0.5358 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4581, allocations: 0 / 0.5358 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00119/0.4593, allocations: 0 / 0.5358 GB, free: 1.504 MB / 398.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.04909/0.5084, allocations: 15.83 MB / 0.5513 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5084, allocations: 8.031 kB / 0.5513 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06319/0.5716, allocations: 12.76 MB / 0.5638 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/0.5897, allocations: 7.794 MB / 0.5714 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009914/0.5907, allocations: 1.071 MB / 0.5724 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004566/0.5952, allocations: 1.402 MB / 0.5738 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05544/0.6507, allocations: 23.89 MB / 0.5971 GB, free: 2.434 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004131/0.6512, allocations: 11.91 kB / 0.5971 GB, free: 2.422 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003595/0.6548, allocations: 0.5781 MB / 0.5977 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007049/0.6555, allocations: 0.7296 MB / 0.5984 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0473/0.7028, allocations: 22.36 MB / 0.6202 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5327/1.236, allocations: 73.06 MB / 0.6916 GB, free: 69.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/1.259, allocations: 31.56 MB / 0.7224 GB, free: 39.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03051/1.289, allocations: 15.51 MB / 0.7376 GB, free: 30.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.289, allocations: 85.38 kB / 0.7376 GB, free: 30.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 6.612e-06/1.289, allocations: 3.938 kB / 0.7376 GB, free: 30.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03309/1.322, allocations: 15.38 MB / 0.7527 GB, free: 20.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.322, allocations: 124.7 kB / 0.7528 GB, free: 20.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007784/1.33, allocations: 5.151 MB / 0.7578 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009461/1.331, allocations: 101.7 kB / 0.7579 GB, free: 14.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002895/1.334, allocations: 6.053 MB / 0.7638 GB, free: 8.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.336, allocations: 1.59 MB / 0.7654 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004154/1.336, allocations: 156 kB / 0.7655 GB, free: 6.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003132/1.337, allocations: 0.6364 MB / 0.7661 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005449/1.342, allocations: 4.172 MB / 0.7702 GB, free: 2.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00891/1.351, allocations: 7.545 MB / 0.7776 GB, free: 9.094 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009701/1.361, allocations: 5.717 MB / 0.7832 GB, free: 3.477 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.361, allocations: 32 kB / 0.7832 GB, free: 3.445 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1006) (initialization): time 0.02557/1.386, allocations: 13.37 MB / 0.7963 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/1.387, allocations: 60.22 kB / 0.7963 GB, free: 6.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/1.387, allocations: 112 kB / 0.7964 GB, free: 6.57 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006859/1.394, allocations: 3.067 MB / 0.7994 GB, free: 3.496 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006689/1.4, allocations: 1.684 MB / 0.8011 GB, free: 1.938 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.416, allocations: 11.13 MB / 0.8119 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006692/1.423, allocations: 1.119 MB / 0.813 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.424, allocations: 408 kB / 0.8134 GB, free: 5.156 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * 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 (859): * Single equations (assignments): 856 * 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.01019/1.434, allocations: 5.467 MB / 0.8188 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.436, allocations: 0.5046 MB / 0.8192 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.452, allocations: 9.617 MB / 0.8286 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/1.452, allocations: 48 kB / 0.8287 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.452, allocations: 0 / 0.8287 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/1.452, allocations: 23.91 kB / 0.8287 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03911/1.491, allocations: 20.67 MB / 0.8489 GB, free: 0.9688 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.491, allocations: 0 / 0.8489 GB, free: 0.9688 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/1.494, allocations: 0.7375 MB / 0.8496 GB, free: 272 kB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2201/1.714, allocations: 2.91 MB / 0.8525 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008011/1.715, allocations: 97.17 kB / 0.8525 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.727, allocations: 10.93 MB / 0.8632 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.727, allocations: 3.781 kB / 0.8632 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.746, allocations: 14.08 MB / 0.877 GB, free: 176.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/1.749, allocations: 1.332 MB / 0.8783 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.75, allocations: 80.61 kB / 0.8784 GB, free: 176.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/1.754, allocations: 391.2 kB / 0.8787 GB, free: 176.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008348/1.754, allocations: 334.8 kB / 0.879 GB, free: 176 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003359/1.755, allocations: 129.3 kB / 0.8792 GB, free: 176 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006137/1.761, allocations: 3.421 MB / 0.8825 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.2e-07/1.761, allocations: 2 kB / 0.8825 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01103/1.772, allocations: 3.301 MB / 0.8857 GB, free: 173.8 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 (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.001174/1.773, allocations: 269.6 kB / 0.886 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.793, allocations: 10.57 MB / 0.8963 GB, free: 169.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.793, allocations: 3.969 kB / 0.8963 GB, free: 169.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009252/1.802, allocations: 5.025 MB / 0.9012 GB, free: 168 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006853/1.809, allocations: 1.137 MB / 0.9023 GB, free: 167.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/1.859, allocations: 29 MB / 0.9307 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/1.872, allocations: 9.362 MB / 0.9398 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008287/1.881, allocations: 2.941 MB / 0.9427 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.882, allocations: 379.4 kB / 0.943 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of SimCode: time 7.21e-07/1.882, allocations: 0 / 0.943 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of Templates: time 0.1322/2.015, allocations: 90.81 MB / 1.032 GB, free: 47.45 MB / 0.5607 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) Environment - environmentSimulation: