Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.001629/0.001628, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003817, allocations: 8.906 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01895/0.1751, allocations: 18.2 MB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.1892, allocations: 5.232 MB / 494.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006059/0.1953, allocations: 163.5 kB / 495.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005718/0.2011, allocations: 1.096 MB / 496.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.2117, allocations: 1.902 MB / 498.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.2174, allocations: 1.293 MB / 499.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.2344, allocations: 9.263 MB / 0.4967 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.578/0.8125, allocations: 26.27 MB / 0.5223 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.8232, allocations: 5.019 MB / 0.5272 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.8356, allocations: 5.642 MB / 0.5328 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00439/0.84, allocations: 0.8326 MB / 0.5336 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006299/0.8463, allocations: 1.017 MB / 0.5346 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005024/0.8514, allocations: 2.578 MB / 0.5371 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005423/0.8569, allocations: 2.789 MB / 0.5398 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02744/0.8843, allocations: 24.04 MB / 0.5633 GB, free: 5.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.8844, allocations: 0 / 0.5633 GB, free: 5.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.8844, allocations: 4 kB / 0.5633 GB, free: 5.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001043/0.8854, allocations: 0 / 0.5633 GB, free: 5.613 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05231/0.9378, allocations: 15.65 MB / 0.5786 GB, free: 6.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.9378, allocations: 8.031 kB / 0.5786 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.062/0.9998, allocations: 11.76 MB / 0.59 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02391/1.024, allocations: 8.451 MB / 0.5983 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001602/1.025, allocations: 1.055 MB / 0.5993 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008629/1.034, allocations: 1.373 MB / 0.6007 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07646/1.111, allocations: 23.37 MB / 0.6235 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009552/1.112, allocations: 15.89 kB / 0.6235 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007536/1.119, allocations: 0.5719 MB / 0.6241 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/1.12, allocations: 0.7018 MB / 0.6247 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05184/1.172, allocations: 21.6 MB / 0.6458 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4778/1.65, allocations: 71.5 MB / 0.7157 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02955/1.68, allocations: 28.61 MB / 0.7436 GB, free: 113 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03152/1.711, allocations: 15.35 MB / 0.7586 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/1.711, allocations: 90.83 kB / 0.7587 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.652e-06/1.711, allocations: 0 / 0.7587 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03682/1.748, allocations: 15.41 MB / 0.7737 GB, free: 110 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/1.748, allocations: 126.7 kB / 0.7739 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009335/1.758, allocations: 5.004 MB / 0.7787 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001453/1.759, allocations: 100.5 kB / 0.7788 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004905/1.764, allocations: 5.894 MB / 0.7846 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002497/1.766, allocations: 1.587 MB / 0.7861 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/1.767, allocations: 154.8 kB / 0.7863 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004262/1.767, allocations: 0.6227 MB / 0.7869 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00612/1.774, allocations: 4.116 MB / 0.7909 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009622/1.783, allocations: 7.241 MB / 0.798 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009601/1.793, allocations: 5.6 MB / 0.8035 GB, free: 90.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/1.793, allocations: 31.97 kB / 0.8035 GB, free: 90.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02902/1.822, allocations: 13.08 MB / 0.8163 GB, free: 79.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003533/1.823, allocations: 55.94 kB / 0.8163 GB, free: 79.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004151/1.823, allocations: 104 kB / 0.8164 GB, free: 78.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007587/1.831, allocations: 3.058 MB / 0.8194 GB, free: 75.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007218/1.838, allocations: 1.61 MB / 0.821 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.853, allocations: 11.12 MB / 0.8318 GB, free: 63.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008524/1.862, allocations: 1.074 MB / 0.8329 GB, free: 61.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/1.864, allocations: 384 kB / 0.8333 GB, free: 61.55 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.01175/1.876, allocations: 5.394 MB / 0.8385 GB, free: 56.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.878, allocations: 0.4938 MB / 0.839 GB, free: 55.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/1.895, allocations: 9.591 MB / 0.8484 GB, free: 46.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/1.895, allocations: 51.94 kB / 0.8484 GB, free: 45.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.895, allocations: 8 kB / 0.8484 GB, free: 45.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/1.895, allocations: 23.91 kB / 0.8484 GB, free: 45.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/1.943, allocations: 20.59 MB / 0.8686 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.943, allocations: 0 / 0.8686 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.946, allocations: 0.7411 MB / 0.8693 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/1.951, allocations: 2.918 MB / 0.8721 GB, free: 21.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004998/1.951, allocations: 91.98 kB / 0.8722 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.964, allocations: 10.93 MB / 0.8829 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.964, allocations: 8 kB / 0.8829 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/1.984, allocations: 14.12 MB / 0.8967 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004167/1.988, allocations: 1.317 MB / 0.898 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.99, allocations: 83.95 kB / 0.898 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/1.993, allocations: 387.6 kB / 0.8984 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008325/1.994, allocations: 339.2 kB / 0.8987 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/1.994, allocations: 135.9 kB / 0.8989 GB, free: 10.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007075/2.001, allocations: 3.341 MB / 0.9021 GB, free: 6.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/2.001, allocations: 4 kB / 0.9021 GB, free: 6.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01419/2.015, allocations: 3.265 MB / 0.9053 GB, free: 3.438 MB / 0.545 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.001339/2.017, allocations: 252.4 kB / 0.9056 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02187/2.039, allocations: 10.43 MB / 0.9157 GB, free: 8.742 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.039, allocations: 0 / 0.9157 GB, free: 8.742 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/2.05, allocations: 5.02 MB / 0.9207 GB, free: 3.688 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008073/2.058, allocations: 1.135 MB / 0.9218 GB, free: 2.578 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3746/2.433, allocations: 28.63 MB / 0.9497 GB, free: 168.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02481/2.457, allocations: 9.256 MB / 0.9588 GB, free: 167.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01079/2.468, allocations: 2.881 MB / 0.9616 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/2.471, allocations: 369.2 kB / 0.9619 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.603e-06/2.471, allocations: 2.875 kB / 0.9619 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of Templates: time 0.1619/2.633, allocations: 90.14 MB / 1.05 GB, free: 93.13 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1)