Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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) 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(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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 202.4 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007746, allocations: 95.09 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002074/0.0002074, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1848, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.005546/0.1904, allocations: 7.254 MB / 419.3 MB, free: 18.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.1945, allocations: 2.993 MB / 422.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.1956, allocations: 39.81 kB / 422.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.197, allocations: 0.5401 MB / 422.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1982, allocations: 0.5827 MB / 423.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.1988, allocations: 243.8 kB / 423.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.2004, allocations: 2.359 MB / 426.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009974/0.2014, allocations: 1.148 MB / 427.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.202, allocations: 0.7117 MB / 427.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.2027, allocations: 0.9258 MB / 428.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.2029, allocations: 100 kB / 428.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.2033, allocations: 199.8 kB / 429.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.2037, allocations: 0.4944 MB / 429.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005709/0.2042, allocations: 0.8955 MB / 430.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.2058, allocations: 2.81 MB / 433.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2058, allocations: 0 / 433.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2058, allocations: 0 / 433.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.363e-05/0.2059, allocations: 0 / 433.3 MB, free: 4.406 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.002424/0.2083, allocations: 1.814 MB / 435.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2083, allocations: 11.97 kB / 435.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.2088, allocations: 222.6 kB / 435.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.2101, allocations: 1.099 MB / 436.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.2102, allocations: 107.4 kB / 436.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2104, allocations: 159.8 kB / 436.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.2131, allocations: 1.947 MB / 438.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.2131, allocations: 11.91 kB / 438.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.2132, allocations: 59.98 kB / 438.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.119e-05/0.2133, allocations: 78.91 kB / 438.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.2158, allocations: 1.577 MB / 440.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008811/0.2246, allocations: 6.366 MB / 446.8 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2259, allocations: 0.8255 MB / 447.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.2269, allocations: 0.5808 MB / 448.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.2271, allocations: 117.6 kB / 448.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2271, allocations: 43.12 kB / 448.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.534e-06/0.2271, allocations: 0 / 448.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.01266/0.2398, allocations: 5.901 MB / 454.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.2399, allocations: 60.41 kB / 454.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.2414, allocations: 1.133 MB / 455.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.2414, allocations: 41.7 kB / 455.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.242, allocations: 0.7747 MB / 456.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.2422, allocations: 307.6 kB / 456.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.2423, allocations: 24 kB / 456.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2424, allocations: 349.9 kB / 456.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.2432, allocations: 0.5374 MB / 457.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.2442, allocations: 0.8834 MB / 458.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.246, allocations: 1.508 MB / 459.8 MB, free: 8.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.246, allocations: 0 / 459.8 MB, free: 8.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003201/0.2492, allocations: 2.039 MB / 461.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2492, allocations: 8 kB / 461.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.2493, allocations: 19.88 kB / 461.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.2506, allocations: 0.5516 MB / 462.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.2515, allocations: 247.6 kB / 462.7 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007977/0.2594, allocations: 7.9 MB / 470.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.2604, allocations: 71.92 kB / 470.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/0.2605, allocations: 48 kB / 470.7 MB, free: 13.51 MB / 346.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.0008329/0.2613, allocations: 0.517 MB / 471.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2615, allocations: 122.5 kB / 471.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.2643, allocations: 1.762 MB / 473.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2643, allocations: 8 kB / 473.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2643, allocations: 8.109 kB / 473.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2644, allocations: 7.922 kB / 473.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.2701, allocations: 3.746 MB / 476.9 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.2701, allocations: 4 kB / 476.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.2707, allocations: 119.9 kB / 477 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.2722, allocations: 0.6008 MB / 477.6 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.2723, allocations: 27.98 kB / 477.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007402/0.2797, allocations: 7.061 MB / 484.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2798, allocations: 0 / 484.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.2835, allocations: 2.475 MB / 487.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.2842, allocations: 315.6 kB / 487.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.2844, allocations: 23.98 kB / 487.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.2851, allocations: 51.94 kB / 487.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.2853, allocations: 72.5 kB / 487.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.2854, allocations: 31.92 kB / 487.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.2865, allocations: 0.7816 MB / 488.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2865, allocations: 0 / 488.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001325/0.2879, allocations: 372 kB / 488.8 MB, free: 10.82 MB / 362.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.0003454/0.2882, allocations: 187 kB / 489 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.2915, allocations: 2.13 MB / 491.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.2915, allocations: 0 / 491.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.2935, allocations: 1.291 MB / 492.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.2955, allocations: 355.2 kB / 492.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.3006, allocations: 4.07 MB / 496.8 MB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.3016, allocations: 1.464 MB / 498.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008648/0.3025, allocations: 259.1 kB / 498.5 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.3027, allocations: 83.42 kB / 498.6 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3028, allocations: 0 / 498.6 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of Templates: time 0.1793/0.4821, allocations: 20.6 MB / 0.5071 GB, free: 89.22 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)