Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007538/0.0007538, allocations: 88.67 kB / 295.1 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3732/0.3732, allocations: 44.32 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004179, allocations: 8 kB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3712, allocations: 61.91 MB / 0.5128 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01568/0.3869, allocations: 19.82 MB / 0.5321 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3981, allocations: 6.358 MB / 0.5383 GB, free: 18.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003797/0.4019, allocations: 174.5 kB / 0.5385 GB, free: 18.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.4055, allocations: 1.429 MB / 0.5399 GB, free: 17.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007756/0.4133, allocations: 2.467 MB / 0.5423 GB, free: 16.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.4185, allocations: 2.249 MB / 0.5445 GB, free: 14.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01532/0.4338, allocations: 14.37 MB / 0.5585 GB, free: 7.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06249/0.4964, allocations: 41.08 MB / 0.5986 GB, free: 3.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.5074, allocations: 5.708 MB / 0.6042 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.5198, allocations: 6.503 MB / 0.6106 GB, free: 7.074 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003635/0.5235, allocations: 0.832 MB / 0.6114 GB, free: 6.242 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006151/0.5296, allocations: 1.058 MB / 0.6124 GB, free: 5.184 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004702/0.5343, allocations: 2.701 MB / 0.615 GB, free: 2.473 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01477/0.5491, allocations: 6.656 MB / 0.6215 GB, free: 11.78 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03039/0.5796, allocations: 26.9 MB / 0.6478 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.5796, allocations: 0 / 0.6478 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5796, allocations: 7.938 kB / 0.6478 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009533/0.5806, allocations: 0 / 0.6478 GB, free: 0.7812 MB / 458.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.04585/0.6265, allocations: 15.51 MB / 0.663 GB, free: 1.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6265, allocations: 8.031 kB / 0.663 GB, free: 1.156 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06005/0.6866, allocations: 11.76 MB / 0.6745 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5723/1.259, allocations: 8.556 MB / 0.6828 GB, free: 106.5 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001682/1.261, allocations: 1.059 MB / 0.6838 GB, free: 106 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007672/1.268, allocations: 1.368 MB / 0.6852 GB, free: 105.6 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07096/1.339, allocations: 23.49 MB / 0.7081 GB, free: 96.77 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001183/1.341, allocations: 17.58 kB / 0.7081 GB, free: 96.77 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007071/1.348, allocations: 0.5669 MB / 0.7087 GB, free: 96.32 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/1.349, allocations: 0.7052 MB / 0.7094 GB, free: 96.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05506/1.404, allocations: 21.63 MB / 0.7305 GB, free: 88.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1209/1.525, allocations: 71.94 MB / 0.8008 GB, free: 18.37 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02135/1.547, allocations: 28.64 MB / 0.8287 GB, free: 3.051 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008931/1.556, allocations: 4.973 MB / 0.8336 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03697/1.593, allocations: 15.69 MB / 0.8489 GB, free: 14.3 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.943e-05/1.593, allocations: 86.11 kB / 0.849 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 8.746e-06/1.593, allocations: 0 / 0.849 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.03896/1.632, allocations: 15.83 MB / 0.8645 GB, free: 14.3 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/1.632, allocations: 124.7 kB / 0.8646 GB, free: 14.16 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009662/1.642, allocations: 5.066 MB / 0.8695 GB, free: 9.09 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008651/1.643, allocations: 101.7 kB / 0.8696 GB, free: 8.984 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.005831/1.648, allocations: 5.886 MB / 0.8754 GB, free: 3.066 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002438/1.651, allocations: 1.588 MB / 0.8769 GB, free: 1.473 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/1.652, allocations: 152 kB / 0.8771 GB, free: 1.324 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0008265/1.653, allocations: 0.616 MB / 0.8777 GB, free: 0.7031 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007601/1.66, allocations: 4.141 MB / 0.8817 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/1.671, allocations: 7.266 MB / 0.8888 GB, free: 3.84 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2899/1.961, allocations: 11.94 MB / 0.9005 GB, free: 163.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/1.961, allocations: 31.75 kB / 0.9005 GB, free: 163.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02147/1.983, allocations: 13.11 MB / 0.9133 GB, free: 158.8 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/1.983, allocations: 50.97 kB / 0.9133 GB, free: 158.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/1.983, allocations: 102.9 kB / 0.9134 GB, free: 158.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00578/1.989, allocations: 3.09 MB / 0.9165 GB, free: 158 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005938/1.995, allocations: 1.598 MB / 0.918 GB, free: 157.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02822/2.023, allocations: 21.88 MB / 0.9394 GB, free: 146.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00618/2.029, allocations: 1.084 MB / 0.9404 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/2.03, allocations: 379 kB / 0.9408 GB, free: 146.2 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.009438/2.04, allocations: 5.391 MB / 0.9461 GB, free: 143.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009825/2.041, allocations: 0.4915 MB / 0.9466 GB, free: 143.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/2.055, allocations: 9.659 MB / 0.956 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/2.055, allocations: 46.78 kB / 0.956 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/2.055, allocations: 0 / 0.956 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/2.055, allocations: 24.33 kB / 0.9561 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03537/2.09, allocations: 20.82 MB / 0.9764 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/2.09, allocations: 0 / 0.9764 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/2.093, allocations: 0.7407 MB / 0.9771 GB, free: 127.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005213/2.098, allocations: 2.964 MB / 0.98 GB, free: 124.8 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003828/2.099, allocations: 99.56 kB / 0.9801 GB, free: 124.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/2.122, allocations: 21.66 MB / 1.001 GB, free: 103.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.122, allocations: 4 kB / 1.001 GB, free: 103.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/2.14, allocations: 14.24 MB / 1.015 GB, free: 89.28 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003195/2.143, allocations: 1.38 MB / 1.017 GB, free: 87.87 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009752/2.144, allocations: 80 kB / 1.017 GB, free: 87.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/2.147, allocations: 395.6 kB / 1.017 GB, free: 87.41 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/2.148, allocations: 387.2 kB / 1.017 GB, free: 87.03 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/2.148, allocations: 128 kB / 1.017 GB, free: 86.9 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004762/2.153, allocations: 3.384 MB / 1.021 GB, free: 83.52 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.6e-07/2.153, allocations: 0 / 1.021 GB, free: 83.52 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01053/2.164, allocations: 3.413 MB / 1.024 GB, free: 80.09 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.001134/2.165, allocations: 275.6 kB / 1.024 GB, free: 79.82 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01754/2.182, allocations: 11.41 MB / 1.035 GB, free: 68.35 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/2.182, allocations: 0 / 1.035 GB, free: 68.35 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.009465/2.192, allocations: 5.987 MB / 1.041 GB, free: 62.28 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007779/2.2, allocations: 1.194 MB / 1.043 GB, free: 61.09 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0557/2.255, allocations: 30.09 MB / 1.072 GB, free: 30.99 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01785/2.273, allocations: 9.115 MB / 1.081 GB, free: 21.83 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.009139/2.283, allocations: 2.877 MB / 1.084 GB, free: 18.95 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/2.285, allocations: 371.4 kB / 1.084 GB, free: 18.59 MB / 0.5574 GB Notification: Performance of SimCode: time 1.072e-06/2.285, allocations: 4 kB / 1.084 GB, free: 18.58 MB / 0.5574 GB Notification: Performance of Templates: time 0.4836/2.768, allocations: 106.7 MB / 1.188 GB, free: 109.5 MB / 0.5574 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)