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.0009909/0.000991, allocations: 98.77 kB / 17 MB, free: 6.402 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.0009807/0.0009808, allocations: 178.2 kB / 17.89 MB, free: 5.945 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.45/1.45, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.25 MB / 337.3 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003997, allocations: 4 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0217/0.1861, allocations: 19.63 MB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.2011, allocations: 5.02 MB / 496.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005456/0.2066, allocations: 179.4 kB / 496.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.2123, allocations: 1.013 MB / 497.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.2225, allocations: 1.981 MB / 499.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005689/0.2282, allocations: 1.31 MB / 0.489 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02013/0.2484, allocations: 13.55 MB / 0.5022 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3106/0.559, allocations: 26.54 MB / 0.5281 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.5709, allocations: 5.515 MB / 0.5335 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.5825, allocations: 6.184 MB / 0.5396 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003116/0.5857, allocations: 0.8345 MB / 0.5404 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005507/0.5912, allocations: 1.048 MB / 0.5414 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003832/0.5951, allocations: 2.654 MB / 0.544 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005977/0.6011, allocations: 2.793 MB / 0.5467 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02636/0.6274, allocations: 24.08 MB / 0.5702 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6275, allocations: 0 / 0.5702 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6275, allocations: 0 / 0.5702 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000908/0.6284, allocations: 0 / 0.5702 GB, free: 15.9 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.04779/0.6762, allocations: 15.66 MB / 0.5855 GB, free: 420 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6763, allocations: 8.031 kB / 0.5855 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05923/0.7355, allocations: 11.76 MB / 0.597 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/0.7555, allocations: 8.448 MB / 0.6053 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/0.7569, allocations: 1.063 MB / 0.6063 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007147/0.7641, allocations: 1.369 MB / 0.6076 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06939/0.8335, allocations: 23.5 MB / 0.6306 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008117/0.8344, allocations: 26.23 kB / 0.6306 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006803/0.8412, allocations: 0.5678 MB / 0.6312 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009637/0.8422, allocations: 0.7017 MB / 0.6319 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05367/0.8959, allocations: 21.63 MB / 0.653 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7495/1.645, allocations: 71.9 MB / 0.7232 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02515/1.671, allocations: 28.63 MB / 0.7511 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008864/1.68, allocations: 4.967 MB / 0.756 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03289/1.713, allocations: 15.71 MB / 0.7713 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/1.713, allocations: 93.5 kB / 0.7714 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.512e-06/1.713, allocations: 0 / 0.7714 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03237/1.745, allocations: 15.59 MB / 0.7867 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/1.745, allocations: 133.1 kB / 0.7868 GB, free: 98.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008095/1.753, allocations: 5.068 MB / 0.7917 GB, free: 95.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.754, allocations: 97.39 kB / 0.7918 GB, free: 95.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003942/1.758, allocations: 5.887 MB / 0.7976 GB, free: 90.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002444/1.761, allocations: 1.585 MB / 0.7991 GB, free: 88.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005855/1.761, allocations: 147.7 kB / 0.7993 GB, free: 88.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004275/1.762, allocations: 0.6149 MB / 0.7999 GB, free: 88.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005953/1.768, allocations: 4.147 MB / 0.8039 GB, free: 86.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008476/1.776, allocations: 7.258 MB / 0.811 GB, free: 79.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009498/1.786, allocations: 5.611 MB / 0.8165 GB, free: 76.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001719/1.786, allocations: 32.41 kB / 0.8165 GB, free: 76.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02364/1.81, allocations: 13.1 MB / 0.8293 GB, free: 64.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.815e-05/1.81, allocations: 53.72 kB / 0.8294 GB, free: 64.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.81, allocations: 104.9 kB / 0.8295 GB, free: 64.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00542/1.815, allocations: 3.102 MB / 0.8325 GB, free: 61.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/1.821, allocations: 1.6 MB / 0.834 GB, free: 59.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/1.846, allocations: 21.88 MB / 0.8554 GB, free: 37.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007363/1.853, allocations: 1.08 MB / 0.8565 GB, free: 36.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002262/1.855, allocations: 380 kB / 0.8568 GB, free: 36.23 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.01202/1.867, allocations: 5.397 MB / 0.8621 GB, free: 30.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.869, allocations: 0.4938 MB / 0.8626 GB, free: 30.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.882, allocations: 9.67 MB / 0.872 GB, free: 20.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.882, allocations: 48 kB / 0.8721 GB, free: 20.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.883, allocations: 0 / 0.8721 GB, free: 20.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/1.883, allocations: 31.25 kB / 0.8721 GB, free: 20.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04505/1.928, allocations: 20.82 MB / 0.8924 GB, free: 15.75 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.928, allocations: 0 / 0.8924 GB, free: 15.75 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/1.931, allocations: 0.7333 MB / 0.8931 GB, free: 15.01 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006103/1.937, allocations: 2.965 MB / 0.896 GB, free: 12.04 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007081/1.938, allocations: 95.97 kB / 0.8961 GB, free: 11.94 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03068/1.968, allocations: 21.66 MB / 0.9173 GB, free: 5.867 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.968, allocations: 0 / 0.9173 GB, free: 5.867 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4163/2.385, allocations: 14.24 MB / 0.9312 GB, free: 171 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005883/2.391, allocations: 1.383 MB / 0.9325 GB, free: 170.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001641/2.392, allocations: 79.75 kB / 0.9326 GB, free: 170.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/2.396, allocations: 394.5 kB / 0.933 GB, free: 170.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001744/2.398, allocations: 383.8 kB / 0.9334 GB, free: 170.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005317/2.398, allocations: 129.5 kB / 0.9335 GB, free: 170.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008963/2.407, allocations: 3.387 MB / 0.9368 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.81e-07/2.407, allocations: 0 / 0.9368 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01589/2.423, allocations: 3.429 MB / 0.9401 GB, free: 169.4 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.001758/2.425, allocations: 249.6 kB / 0.9404 GB, free: 169.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02053/2.445, allocations: 11.41 MB / 0.9515 GB, free: 164.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/2.445, allocations: 0 / 0.9515 GB, free: 164.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01071/2.456, allocations: 5.993 MB / 0.9574 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007929/2.464, allocations: 1.205 MB / 0.9586 GB, free: 161.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05254/2.517, allocations: 28.86 MB / 0.9867 GB, free: 147 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01255/2.529, allocations: 9.114 MB / 0.9956 GB, free: 140 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007601/2.537, allocations: 2.876 MB / 0.9984 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/2.538, allocations: 371.1 kB / 0.9988 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.392e-06/2.538, allocations: 0 / 0.9988 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.1598/2.698, allocations: 104.5 MB / 1.101 GB, free: 35.04 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)