Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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) 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009459/0.000946, allocations: 179 kB / 16.71 MB, free: 5.09 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.249/1.249, allocations: 225.7 MB / 243.2 MB, free: 10.22 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.0007832/0.000783, allocations: 94.14 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 4 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1916, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.005137/0.1968, allocations: 7.237 MB / 411.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1997, allocations: 2.792 MB / 414.6 MB, free: 21.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000476/0.2002, allocations: 39.81 kB / 414.7 MB, free: 21.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2013, allocations: 0.5362 MB / 415.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009743/0.2023, allocations: 0.5672 MB / 415.8 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.2027, allocations: 259.7 kB / 416 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2041, allocations: 2.359 MB / 418.4 MB, free: 17.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009691/0.205, allocations: 1.152 MB / 419.5 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/0.2057, allocations: 0.7078 MB / 420.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008745/0.2066, allocations: 0.9258 MB / 421.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.2068, allocations: 100 kB / 421.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.2072, allocations: 203.8 kB / 421.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.2076, allocations: 498.3 kB / 421.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.2082, allocations: 0.8994 MB / 422.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.2099, allocations: 2.81 MB / 425.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2099, allocations: 0 / 425.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2099, allocations: 0 / 425.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.2099, allocations: 0 / 425.6 MB, free: 10.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002685/0.2126, allocations: 1.802 MB / 427.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2127, allocations: 12.03 kB / 427.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.2132, allocations: 214.6 kB / 427.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.2146, allocations: 1.103 MB / 428.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.2146, allocations: 115.4 kB / 428.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.2148, allocations: 160 kB / 429 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.2173, allocations: 1.947 MB / 431 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.2174, allocations: 7.984 kB / 431 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.2175, allocations: 60 kB / 431.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.2176, allocations: 74.92 kB / 431.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.2196, allocations: 1.577 MB / 432.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007812/0.2274, allocations: 6.37 MB / 439.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.2287, allocations: 0.8244 MB / 439.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009002/0.2296, allocations: 0.5808 MB / 440.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.2299, allocations: 129.6 kB / 440.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2299, allocations: 35.12 kB / 440.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.725e-06/0.2299, allocations: 4 kB / 440.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.01247/0.2424, allocations: 5.89 MB / 446.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2425, allocations: 64.34 kB / 446.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.244, allocations: 1.133 MB / 447.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.2441, allocations: 41.7 kB / 447.8 MB, free: 3.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005583/0.2447, allocations: 0.7709 MB / 448.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.2449, allocations: 299.7 kB / 448.8 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.245, allocations: 28 kB / 448.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2451, allocations: 349.9 kB / 449.2 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.2459, allocations: 0.5335 MB / 449.7 MB, free: 1.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/0.2468, allocations: 0.8796 MB / 450.6 MB, free: 408 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.2486, allocations: 1.508 MB / 452.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2486, allocations: 0 / 452.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003165/0.2518, allocations: 2.051 MB / 454.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2518, allocations: 8 kB / 454.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.2518, allocations: 12 kB / 454.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.2532, allocations: 0.5477 MB / 454.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.254, allocations: 247.6 kB / 455 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00735/0.2614, allocations: 7.896 MB / 462.9 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/0.2623, allocations: 79.88 kB / 463 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.2624, allocations: 55.94 kB / 463 MB, free: 3.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008038/0.2632, allocations: 0.5115 MB / 463.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.2634, allocations: 126.6 kB / 463.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.2662, allocations: 1.763 MB / 465.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2662, allocations: 15.97 kB / 465.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2663, allocations: 4 kB / 465.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2663, allocations: 7.984 kB / 465.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/0.2721, allocations: 3.734 MB / 469.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.2722, allocations: 4 kB / 469.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.2727, allocations: 123.8 kB / 469.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.2742, allocations: 0.5984 MB / 469.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.2743, allocations: 23.98 kB / 469.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007244/0.2816, allocations: 7.068 MB / 477 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2816, allocations: 0 / 477 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.2852, allocations: 2.486 MB / 479.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006253/0.2859, allocations: 311.5 kB / 479.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.2861, allocations: 24 kB / 479.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.2867, allocations: 59.94 kB / 479.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.2868, allocations: 60.56 kB / 479.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.2869, allocations: 35.98 kB / 480 MB, free: 1.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.2881, allocations: 0.7775 MB / 480.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2881, allocations: 0 / 480.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001181/0.2893, allocations: 379.9 kB / 481.1 MB, free: 0.5664 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003233/0.2896, allocations: 180.2 kB / 481.3 MB, free: 392 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.2926, allocations: 2.127 MB / 483.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2926, allocations: 0 / 483.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.2945, allocations: 1.291 MB / 484.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.2963, allocations: 344.6 kB / 485 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.3014, allocations: 4.062 MB / 489.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.3025, allocations: 1.464 MB / 490.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009147/0.3034, allocations: 267 kB / 490.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3037, allocations: 83.42 kB / 490.9 MB, free: 6.508 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3037, allocations: 0 / 490.9 MB, free: 6.508 MB / 362.7 MB Notification: Performance of Templates: time 0.03154/0.3352, allocations: 20.54 MB / 0.4995 GB, free: 2.145 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)