Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002501/0.002501, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002862/0.002862, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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=25000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.169e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01226/0.01229, allocations: 8.117 MB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.01873, allocations: 2.633 MB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.02008, allocations: 47.69 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.02224, allocations: 0.5978 MB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.02458, allocations: 0.6908 MB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.02533, allocations: 291.5 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.02875, allocations: 2.112 MB / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.03014, allocations: 0.8002 MB / 282.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.03266, allocations: 1.325 MB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.03443, allocations: 0.9781 MB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004121/0.03484, allocations: 228 kB / 285.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007409/0.03558, allocations: 315.8 kB / 285.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008241/0.0364, allocations: 0.6622 MB / 286.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.03755, allocations: 0.7211 MB / 286.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.04216, allocations: 3.053 MB / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.04217, allocations: 0 / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04217, allocations: 0 / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.939e-05/0.04225, allocations: 0 / 289.9 MB, free: 36 kB / 266.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.1381/0.1804, allocations: 2.399 MB / 292.3 MB, free: 32.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1804, allocations: 10.42 kB / 292.3 MB, free: 32.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008081/0.1812, allocations: 348.1 kB / 292.6 MB, free: 32.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.1832, allocations: 1.072 MB / 293.7 MB, free: 31.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.1833, allocations: 111.8 kB / 293.8 MB, free: 31.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.1835, allocations: 156.9 kB / 294 MB, free: 31.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.1867, allocations: 1.897 MB / 295.9 MB, free: 30.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.1867, allocations: 7.844 kB / 295.9 MB, free: 30.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.1869, allocations: 64.66 kB / 295.9 MB, free: 30.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.187, allocations: 81.78 kB / 296 MB, free: 30.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.1891, allocations: 1.18 MB / 297.2 MB, free: 30.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009954/0.1991, allocations: 7.533 MB / 304.7 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/0.2, allocations: 0.5017 MB / 305.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.2007, allocations: 372.7 kB / 305.6 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.2009, allocations: 48.62 kB / 305.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2009, allocations: 45.52 kB / 305.7 MB, free: 24.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.073e-06/0.2009, allocations: 0 / 305.7 MB, free: 24.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.007374/0.2083, allocations: 3.238 MB / 308.9 MB, free: 21.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.2083, allocations: 60.41 kB / 309 MB, free: 21.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.2095, allocations: 1.24 MB / 310.2 MB, free: 19.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.2095, allocations: 41.7 kB / 310.3 MB, free: 19.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.2099, allocations: 0.9204 MB / 311.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.2101, allocations: 347.9 kB / 311.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.2104, allocations: 256.5 kB / 311.8 MB, free: 18.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2105, allocations: 0.5668 MB / 312.3 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.211, allocations: 270.5 kB / 312.6 MB, free: 17.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.2116, allocations: 0.786 MB / 313.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2127, allocations: 1.179 MB / 314.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2127, allocations: 7.938 kB / 314.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002213/0.2149, allocations: 1.377 MB / 315.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2149, allocations: 8 kB / 316 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2149, allocations: 16.97 kB / 316 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.2164, allocations: 430.5 kB / 316.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.2171, allocations: 239.6 kB / 316.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.2222, allocations: 8.556 MB / 325.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.2231, allocations: 72.16 kB / 325.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.2231, allocations: 51.94 kB / 325.3 MB, free: 3.746 MB / 266.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.0006145/0.2237, allocations: 456.6 kB / 325.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.224, allocations: 151.2 kB / 325.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.226, allocations: 1.036 MB / 326.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.226, allocations: 12 kB / 326.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.226, allocations: 4 kB / 326.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.226, allocations: 3.984 kB / 327 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.2313, allocations: 2.914 MB / 329.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.2313, allocations: 4 kB / 329.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.2319, allocations: 120.5 kB / 330 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.2335, allocations: 390.1 kB / 330.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.2336, allocations: 23.98 kB / 330.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008407/0.242, allocations: 6.801 MB / 337.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.242, allocations: 4 kB / 337.2 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.2453, allocations: 1.507 MB / 338.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.246, allocations: 207.1 kB / 338.9 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.2462, allocations: 23.98 kB / 338.9 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.2468, allocations: 55.94 kB / 339 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.247, allocations: 72.45 kB / 339.1 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.2471, allocations: 24 kB / 339.1 MB, free: 5.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.2483, allocations: 0.7384 MB / 339.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2483, allocations: 0 / 339.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001573/0.2499, allocations: 372 kB / 340.2 MB, free: 4.316 MB / 282.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.0004039/0.2503, allocations: 183.2 kB / 340.4 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.2537, allocations: 1.734 MB / 342.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2537, allocations: 2 kB / 342.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.256, allocations: 1.178 MB / 343.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.2576, allocations: 312.5 kB / 343.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/0.263, allocations: 2.9 MB / 346.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.2641, allocations: 0.8235 MB / 347.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006783/0.2647, allocations: 205.9 kB / 347.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.265, allocations: 84.42 kB / 347.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 1.954e-06/0.265, allocations: 0 / 347.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Templates: time 0.03929/0.3042, allocations: 20.66 MB / 368.2 MB, free: 8.316 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.261083257966675]