Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.038e-05, allocations: 10.25 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01144/0.01147, allocations: 7.303 MB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006512/0.01799, allocations: 2.571 MB / 282.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.01927, allocations: 51.69 kB / 282.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.02144, allocations: 0.6017 MB / 282.9 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.02387, allocations: 0.6985 MB / 283.6 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.02485, allocations: 291.5 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.02812, allocations: 2.119 MB / 286 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.02978, allocations: 0.7924 MB / 286.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.03236, allocations: 1.325 MB / 288.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.03418, allocations: 0.9117 MB / 289 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007529/0.03494, allocations: 228 kB / 289.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.03572, allocations: 315.8 kB / 289.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1123/0.1481, allocations: 0.6551 MB / 290.2 MB, free: 17.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.1495, allocations: 0.7115 MB / 290.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003743/0.1533, allocations: 3.036 MB / 293.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1533, allocations: 2.812 kB / 293.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1533, allocations: 0 / 293.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.37e-05/0.1534, allocations: 0 / 293.9 MB, free: 17.61 MB / 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.004281/0.1576, allocations: 2.089 MB / 296 MB, free: 16.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1577, allocations: 10.03 kB / 296 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.1585, allocations: 359.2 kB / 296.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.1604, allocations: 1.116 MB / 297.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.1605, allocations: 111.8 kB / 297.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.1607, allocations: 158.5 kB / 297.8 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.1638, allocations: 2.061 MB / 299.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.1639, allocations: 6.812 kB / 299.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.164, allocations: 72.38 kB / 299.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.41e-05/0.1641, allocations: 75.67 kB / 300 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.1665, allocations: 1.578 MB / 301.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007931/0.1744, allocations: 5.533 MB / 307.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1755, allocations: 0.7225 MB / 307.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007946/0.1763, allocations: 0.5459 MB / 308.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.1764, allocations: 42.06 kB / 308.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1765, allocations: 43.09 kB / 308.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.255e-06/0.1765, allocations: 0 / 308.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.0118/0.1883, allocations: 5.489 MB / 313.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.1883, allocations: 60.41 kB / 314 MB, free: 6.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1894, allocations: 1 MB / 315 MB, free: 5.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.1895, allocations: 41.7 kB / 315 MB, free: 5.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.1898, allocations: 0.8063 MB / 315.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.19, allocations: 313.4 kB / 316.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.1902, allocations: 206.8 kB / 316.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.1903, allocations: 353.9 kB / 316.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.1909, allocations: 0.5413 MB / 317.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.1916, allocations: 0.8831 MB / 318.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.193, allocations: 1.527 MB / 319.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.193, allocations: 3.25 kB / 319.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003379/0.1964, allocations: 2.087 MB / 321.7 MB, free: 15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1964, allocations: 12 kB / 321.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.1964, allocations: 8 kB / 321.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.1985, allocations: 0.6761 MB / 322.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.1994, allocations: 241.8 kB / 322.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.2098, allocations: 8.132 MB / 330.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.2108, allocations: 75.88 kB / 330.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2109, allocations: 48 kB / 330.9 MB, free: 5.477 MB / 282.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.001048/0.2119, allocations: 0.5174 MB / 331.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.2123, allocations: 143.4 kB / 331.6 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.2158, allocations: 1.739 MB / 333.3 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2158, allocations: 8 kB / 333.3 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.2158, allocations: 12 kB / 333.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2158, allocations: 3.984 kB / 333.3 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.2232, allocations: 3.333 MB / 336.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2232, allocations: 0 / 336.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.2238, allocations: 127 kB / 336.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.2257, allocations: 0.6193 MB / 337.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.741e-05/0.2258, allocations: 23.98 kB / 337.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.2359, allocations: 7.294 MB / 344.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2359, allocations: 0 / 344.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.2405, allocations: 2.489 MB / 347.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/0.2411, allocations: 223.2 kB / 347.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.2413, allocations: 27.98 kB / 347.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.2419, allocations: 52.19 kB / 347.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.2421, allocations: 79.92 kB / 347.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.2422, allocations: 28 kB / 347.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.2433, allocations: 0.6684 MB / 348.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2433, allocations: 0 / 348.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001485/0.2448, allocations: 375.5 kB / 348.7 MB, free: 3.414 MB / 298.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.0003673/0.2452, allocations: 185 kB / 348.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.2497, allocations: 1.937 MB / 350.8 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2497, allocations: 0 / 350.8 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003548/0.2533, allocations: 1.183 MB / 352 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.2558, allocations: 319.1 kB / 352.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008122/0.2639, allocations: 3.208 MB / 355.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.2659, allocations: 0.8821 MB / 356.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.2672, allocations: 249.8 kB / 356.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.2676, allocations: 72.5 kB / 356.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2676, allocations: 0 / 356.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Templates: time 0.06045/0.328, allocations: 20.64 MB / 377.3 MB, free: 7.012 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.20307629101444]