Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008136/0.0008136, allocations: 103.5 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3317/0.3317, allocations: 45.01 MB / 397 MB, free: 31.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 8 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3217, allocations: 63.1 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01466/0.3364, allocations: 19.84 MB / 0.5407 GB, free: 24.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.3469, allocations: 6.808 MB / 0.5474 GB, free: 18.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004021/0.351, allocations: 176.9 kB / 0.5476 GB, free: 18.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.3559, allocations: 1.424 MB / 0.549 GB, free: 17.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007894/0.3638, allocations: 2.086 MB / 0.551 GB, free: 16.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.3687, allocations: 2.675 MB / 0.5536 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01915/0.3879, allocations: 14.36 MB / 0.5676 GB, free: 6.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05527/0.4432, allocations: 41.08 MB / 0.6077 GB, free: 11.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.4541, allocations: 5.71 MB / 0.6133 GB, free: 6.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.4645, allocations: 6.503 MB / 0.6197 GB, free: 15.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00305/0.4676, allocations: 0.832 MB / 0.6205 GB, free: 14.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005484/0.4731, allocations: 1.074 MB / 0.6215 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002979/0.4761, allocations: 2.701 MB / 0.6242 GB, free: 10.99 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01079/0.4869, allocations: 6.653 MB / 0.6307 GB, free: 4.301 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02961/0.5165, allocations: 26.92 MB / 0.6569 GB, free: 9.293 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5166, allocations: 4 kB / 0.657 GB, free: 9.289 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5166, allocations: 0 / 0.657 GB, free: 9.289 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007713/0.5174, allocations: 0 / 0.657 GB, free: 9.289 MB / 474.7 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.04213/0.5595, allocations: 15.52 MB / 0.6721 GB, free: 9.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5596, allocations: 8.031 kB / 0.6721 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4692/1.029, allocations: 11.78 MB / 0.6836 GB, free: 110.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/1.047, allocations: 8.556 MB / 0.692 GB, free: 106.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/1.049, allocations: 1.06 MB / 0.693 GB, free: 106.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005241/1.054, allocations: 1.369 MB / 0.6943 GB, free: 105.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06694/1.121, allocations: 23.49 MB / 0.7173 GB, free: 96.94 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006262/1.121, allocations: 16.09 kB / 0.7173 GB, free: 96.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005638/1.127, allocations: 0.5755 MB / 0.7179 GB, free: 96.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009881/1.128, allocations: 0.703 MB / 0.7186 GB, free: 96.42 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04556/1.174, allocations: 21.63 MB / 0.7397 GB, free: 79.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/1.286, allocations: 72.94 MB / 0.8109 GB, free: 4.746 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02467/1.311, allocations: 28.65 MB / 0.8389 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007967/1.319, allocations: 4.969 MB / 0.8437 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/1.345, allocations: 16.51 MB / 0.8598 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/1.345, allocations: 94.03 kB / 0.8599 GB, free: 15.6 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=465): time 6.852e-06/1.345, allocations: 0 / 0.8599 GB, free: 15.6 MB / 0.5418 GB Notification: Performance of matching and sorting (n=465): time 0.03502/1.381, allocations: 15.81 MB / 0.8754 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/1.381, allocations: 124.7 kB / 0.8755 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007889/1.389, allocations: 5.074 MB / 0.8804 GB, free: 10.48 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0007702/1.389, allocations: 97.7 kB / 0.8805 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004552/1.394, allocations: 5.887 MB / 0.8863 GB, free: 4.414 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002216/1.396, allocations: 1.591 MB / 0.8878 GB, free: 2.801 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/1.397, allocations: 151.9 kB / 0.888 GB, free: 2.652 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0004499/1.397, allocations: 0.616 MB / 0.8886 GB, free: 2.031 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.27/1.667, allocations: 4.136 MB / 0.8926 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008279/1.675, allocations: 7.27 MB / 0.8997 GB, free: 167.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.689, allocations: 11.94 MB / 0.9114 GB, free: 159.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.689, allocations: 30.19 kB / 0.9114 GB, free: 159.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02556/1.714, allocations: 13.1 MB / 0.9242 GB, free: 155 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.715, allocations: 49.47 kB / 0.9243 GB, free: 155 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002521/1.715, allocations: 103.1 kB / 0.9244 GB, free: 155 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006084/1.721, allocations: 3.093 MB / 0.9274 GB, free: 154.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/1.727, allocations: 1.598 MB / 0.9289 GB, free: 154 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02637/1.753, allocations: 21.88 MB / 0.9503 GB, free: 142.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006435/1.76, allocations: 1.076 MB / 0.9514 GB, free: 142.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.761, allocations: 378.5 kB / 0.9517 GB, free: 142.4 MB / 0.5574 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 (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.009308/1.77, allocations: 5.396 MB / 0.957 GB, free: 140.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.772, allocations: 0.4971 MB / 0.9575 GB, free: 139.8 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/1.787, allocations: 9.655 MB / 0.9669 GB, free: 132.4 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/1.787, allocations: 44 kB / 0.9669 GB, free: 132.4 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.787, allocations: 4 kB / 0.9669 GB, free: 132.4 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/1.787, allocations: 26.34 kB / 0.967 GB, free: 132.4 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03584/1.823, allocations: 20.81 MB / 0.9873 GB, free: 113 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.823, allocations: 4 kB / 0.9873 GB, free: 113 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/1.826, allocations: 0.7372 MB / 0.988 GB, free: 112.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/1.831, allocations: 2.964 MB / 0.9909 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008066/1.832, allocations: 99.97 kB / 0.991 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/1.856, allocations: 21.66 MB / 1.012 GB, free: 87.14 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.856, allocations: 0 / 1.012 GB, free: 87.14 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.874, allocations: 14.24 MB / 1.026 GB, free: 72.86 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003455/1.878, allocations: 1.38 MB / 1.027 GB, free: 71.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.879, allocations: 78.62 kB / 1.027 GB, free: 71.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/1.882, allocations: 399.6 kB / 1.028 GB, free: 70.99 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.883, allocations: 379.2 kB / 1.028 GB, free: 70.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003038/1.883, allocations: 132 kB / 1.028 GB, free: 70.49 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004689/1.888, allocations: 3.38 MB / 1.032 GB, free: 67.11 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.3e-07/1.888, allocations: 3.938 kB / 1.032 GB, free: 67.11 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009775/1.898, allocations: 3.432 MB / 1.035 GB, free: 63.66 MB / 0.5574 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.001043/1.899, allocations: 257.3 kB / 1.035 GB, free: 63.41 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0163/1.915, allocations: 11.41 MB / 1.046 GB, free: 51.93 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.915, allocations: 4.219 kB / 1.046 GB, free: 51.93 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008918/1.924, allocations: 5.986 MB / 1.052 GB, free: 45.86 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/1.93, allocations: 1.19 MB / 1.053 GB, free: 44.68 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03869/1.969, allocations: 30.21 MB / 1.083 GB, free: 14.47 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/1.98, allocations: 9.118 MB / 1.092 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007422/1.987, allocations: 2.869 MB / 1.095 GB, free: 2.438 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.989, allocations: 371.4 kB / 1.095 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of SimCode: time 1.533e-06/1.989, allocations: 0 / 1.095 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of Templates: time 0.3982/2.387, allocations: 106.8 MB / 1.199 GB, free: 109.3 MB / 0.573 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)