Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007696/0.007696, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001489/0.001489, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.65/1.65, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2041/0.2041, allocations: 39.97 MB / 309.9 MB, free: 4 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 70.25 kB / 435.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 56.88 MB / 492.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.0241/0.1363, allocations: 22.9 MB / 0.5035 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.1501, allocations: 5.502 MB / 0.5088 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/0.1552, allocations: 163.4 kB / 0.509 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.342/0.4973, allocations: 9.483 MB / 0.5183 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.5078, allocations: 2.394 MB / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005836/0.5136, allocations: 1.714 MB / 0.5223 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02509/0.5387, allocations: 14.67 MB / 0.5366 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05569/0.5945, allocations: 34.33 MB / 0.5701 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01856/0.6131, allocations: 8.083 MB / 0.578 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02107/0.6342, allocations: 8.837 MB / 0.5866 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007737/0.642, allocations: 2.113 MB / 0.5887 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/0.6539, allocations: 2.358 MB / 0.591 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009573/0.6635, allocations: 4.389 MB / 0.5953 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01978/0.6833, allocations: 8.535 MB / 0.6036 GB, free: 6.887 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04224/0.7256, allocations: 28.7 MB / 0.6317 GB, free: 10.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.7256, allocations: 0 / 0.6317 GB, free: 10.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7256, allocations: 0 / 0.6317 GB, free: 10.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001095/0.7268, allocations: 0 / 0.6317 GB, free: 10.73 MB / 494.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.06793/0.7947, allocations: 18.94 MB / 0.6501 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.7948, allocations: 15.89 kB / 0.6502 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06846/0.8633, allocations: 12.67 MB / 0.6625 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02654/0.8899, allocations: 7.94 MB / 0.6703 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/0.8913, allocations: 1.077 MB / 0.6713 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00755/0.8988, allocations: 1.39 MB / 0.6727 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07038/0.9692, allocations: 24.1 MB / 0.6962 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006178/0.9699, allocations: 23.75 kB / 0.6963 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007256/0.9772, allocations: 0.5795 MB / 0.6968 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000843/0.978, allocations: 0.7296 MB / 0.6975 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05712/1.035, allocations: 22.44 MB / 0.7194 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7854/1.821, allocations: 72.41 MB / 0.7902 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/1.846, allocations: 31.61 MB / 0.821 GB, free: 110.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009169/1.856, allocations: 5.07 MB / 0.826 GB, free: 107.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03473/1.89, allocations: 15.8 MB / 0.8414 GB, free: 96.92 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.88e-05/1.891, allocations: 78.11 kB / 0.8415 GB, free: 96.84 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 9.658e-06/1.891, allocations: 7.938 kB / 0.8415 GB, free: 96.83 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03822/1.929, allocations: 15.66 MB / 0.8568 GB, free: 81.09 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.929, allocations: 128.6 kB / 0.8569 GB, free: 80.95 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007906/1.937, allocations: 5.248 MB / 0.862 GB, free: 75.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.938, allocations: 101.7 kB / 0.8621 GB, free: 75.59 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003748/1.942, allocations: 6.049 MB / 0.868 GB, free: 69.52 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00254/1.944, allocations: 1.588 MB / 0.8696 GB, free: 67.94 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002689/1.947, allocations: 1.598 MB / 0.8712 GB, free: 66.34 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/1.947, allocations: 309.1 kB / 0.8714 GB, free: 66.03 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005652/1.953, allocations: 4.2 MB / 0.8755 GB, free: 61.83 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007604/1.96, allocations: 7.564 MB / 0.8829 GB, free: 52.69 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.976, allocations: 12.31 MB / 0.895 GB, free: 38.79 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.976, allocations: 32 kB / 0.895 GB, free: 38.76 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02166/1.998, allocations: 13.45 MB / 0.9081 GB, free: 25.28 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/1.998, allocations: 52 kB / 0.9082 GB, free: 25.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/1.998, allocations: 116 kB / 0.9083 GB, free: 25.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005557/2.004, allocations: 3.103 MB / 0.9113 GB, free: 22.01 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006095/2.01, allocations: 1.661 MB / 0.9129 GB, free: 20.34 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006287/2.01, allocations: 323 kB / 0.9132 GB, free: 20.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00716/2.018, allocations: 1.096 MB / 0.9143 GB, free: 18.91 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/2.019, allocations: 408 kB / 0.9147 GB, free: 18.51 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.01107/2.03, allocations: 5.475 MB / 0.92 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/2.031, allocations: 0.5053 MB / 0.9205 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/2.045, allocations: 9.644 MB / 0.93 GB, free: 2.832 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/2.045, allocations: 48 kB / 0.93 GB, free: 2.785 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/2.045, allocations: 3.938 kB / 0.93 GB, free: 2.781 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-05/2.045, allocations: 27.91 kB / 0.93 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04096/2.086, allocations: 20.85 MB / 0.9504 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/2.086, allocations: 0 / 0.9504 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/2.089, allocations: 0.7294 MB / 0.9511 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006491/2.096, allocations: 2.965 MB / 0.954 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006399/2.097, allocations: 95.98 kB / 0.9541 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000537/2.097, allocations: 130.5 kB / 0.9542 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.097, allocations: 3.984 kB / 0.9542 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/2.12, allocations: 14.15 MB / 0.968 GB, free: 11.79 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004986/2.125, allocations: 1.372 MB / 0.9694 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/2.126, allocations: 80 kB / 0.9695 GB, free: 10.32 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003943/2.13, allocations: 367.5 kB / 0.9698 GB, free: 9.957 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008269/2.131, allocations: 319.4 kB / 0.9701 GB, free: 9.645 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/2.131, allocations: 140 kB / 0.9703 GB, free: 9.508 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007368/2.139, allocations: 3.501 MB / 0.9737 GB, free: 6.016 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.1e-07/2.139, allocations: 0 / 0.9737 GB, free: 6.016 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.012/2.151, allocations: 3.232 MB / 0.9768 GB, free: 2.77 MB / 0.6232 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.001298/2.152, allocations: 258.4 kB / 0.9771 GB, free: 2.512 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.3522/2.504, allocations: 10.03 MB / 0.9869 GB, free: 216.2 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.505, allocations: 1.375 kB / 0.9869 GB, free: 216.2 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01064/2.515, allocations: 4.438 MB / 0.9912 GB, free: 214.7 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006444/2.522, allocations: 1.274 MB / 0.9924 GB, free: 214.3 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05438/2.576, allocations: 24.35 MB / 1.016 GB, free: 204.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/2.589, allocations: 9.109 MB / 1.025 GB, free: 201.1 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006711/2.596, allocations: 2.938 MB / 1.028 GB, free: 200.9 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/2.597, allocations: 387.9 kB / 1.028 GB, free: 200.8 MB / 0.6232 GB Notification: Performance of SimCode: time 8.12e-07/2.597, allocations: 0 / 1.028 GB, free: 200.8 MB / 0.6232 GB Notification: Performance of Templates: time 0.1439/2.741, allocations: 95.61 MB / 1.122 GB, free: 106.6 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1)