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.001021/0.001021, allocations: 76.06 kB / 21.69 MB, free: 2.863 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.0009551/0.0009551, allocations: 145.5 kB / 24.98 MB, free: 8.879 MB / 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 0.9737/0.9737, allocations: 173.4 MB / 201.5 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|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.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.503e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.007881/0.007916, allocations: 8.137 MB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.01232, allocations: 2.645 MB / 278.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.01306, allocations: 55.62 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.01548, allocations: 0.5939 MB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.01703, allocations: 0.6946 MB / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.01761, allocations: 287.5 kB / 280.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.01957, allocations: 2.104 MB / 282.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.02074, allocations: 0.8041 MB / 283.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.02221, allocations: 1.329 MB / 284.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.02341, allocations: 0.9742 MB / 285.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.02367, allocations: 228 kB / 285.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.02417, allocations: 311.8 kB / 286.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006113/0.02478, allocations: 0.6738 MB / 286.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007172/0.0255, allocations: 0.7094 MB / 287.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.02733, allocations: 1.643 MB / 289.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.02733, allocations: 0 / 289.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02734, allocations: 0 / 289.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.02735, allocations: 4 kB / 289.3 MB, free: 1.426 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.1071/0.1344, allocations: 2.236 MB / 291.5 MB, free: 33.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1345, allocations: 10.3 kB / 291.5 MB, free: 33.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.135, allocations: 350.6 kB / 291.8 MB, free: 33.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.1363, allocations: 1.054 MB / 292.9 MB, free: 32.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.1363, allocations: 114.2 kB / 293 MB, free: 32.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.1365, allocations: 162.4 kB / 293.2 MB, free: 32.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.1382, allocations: 1.255 MB / 294.4 MB, free: 32.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.1382, allocations: 12.58 kB / 294.4 MB, free: 32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.1383, allocations: 58.8 kB / 294.5 MB, free: 31.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.1384, allocations: 76.5 kB / 294.6 MB, free: 31.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.1397, allocations: 0.5695 MB / 295.1 MB, free: 31.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005233/0.1449, allocations: 5.277 MB / 300.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.1456, allocations: 423.3 kB / 300.8 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.1461, allocations: 304.9 kB / 301.1 MB, free: 28.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.1462, allocations: 44.78 kB / 301.2 MB, free: 28.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1462, allocations: 50.3 kB / 301.2 MB, free: 28.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.204e-06/0.1462, allocations: 0 / 301.2 MB, free: 28.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.00446/0.1507, allocations: 2.99 MB / 304.2 MB, free: 27.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.1507, allocations: 64.78 kB / 304.3 MB, free: 27.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.1514, allocations: 0.9233 MB / 305.2 MB, free: 26.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.1514, allocations: 41.67 kB / 305.2 MB, free: 26.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.1517, allocations: 0.8738 MB / 306.1 MB, free: 25.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1518, allocations: 320.5 kB / 306.4 MB, free: 25.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1519, allocations: 216.5 kB / 306.6 MB, free: 25.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.152, allocations: 0.5277 MB / 307.2 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.1523, allocations: 182.5 kB / 307.3 MB, free: 24.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.1526, allocations: 0.6649 MB / 308 MB, free: 23.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000652/0.1532, allocations: 0.9451 MB / 309 MB, free: 22.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1533, allocations: 7.938 kB / 309 MB, free: 22.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001283/0.1545, allocations: 1.17 MB / 310.1 MB, free: 21.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1546, allocations: 12 kB / 310.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1546, allocations: 11.98 kB / 310.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/0.1554, allocations: 405.8 kB / 310.6 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.1558, allocations: 243.6 kB / 310.8 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.1585, allocations: 8.315 MB / 319.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.1589, allocations: 63.94 kB / 319.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.159, allocations: 55.61 kB / 319.2 MB, free: 11.52 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.0002154/0.1592, allocations: 228.3 kB / 319.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.1593, allocations: 147.2 kB / 319.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1604, allocations: 0.9419 MB / 320.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1604, allocations: 8 kB / 320.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1604, allocations: 4 kB / 320.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1604, allocations: 3.984 kB / 320.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.1628, allocations: 2.434 MB / 323 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1628, allocations: 0 / 323 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1631, allocations: 127.8 kB / 323.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/0.1638, allocations: 369.7 kB / 323.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.1638, allocations: 23.98 kB / 323.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.1665, allocations: 6.624 MB / 330.1 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1665, allocations: 4 kB / 330.1 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.168, allocations: 1.312 MB / 331.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.1683, allocations: 203.2 kB / 331.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.1684, allocations: 23.98 kB / 331.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.1687, allocations: 59.94 kB / 331.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1688, allocations: 80.34 kB / 331.8 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.1688, allocations: 24 kB / 331.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005289/0.1693, allocations: 0.547 MB / 332.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1693, allocations: 0 / 332.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007537/0.1701, allocations: 379.9 kB / 332.7 MB, free: 13.47 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.0002353/0.1703, allocations: 182.9 kB / 332.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.1718, allocations: 1.552 MB / 334.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1718, allocations: 4.25 kB / 334.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.1728, allocations: 1.103 MB / 335.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.1736, allocations: 313.2 kB / 335.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.1766, allocations: 2.789 MB / 338.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1769, allocations: 409.1 kB / 339.1 MB, free: 6.906 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003707/0.1773, allocations: 205.9 kB / 339.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1775, allocations: 76.48 kB / 339.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1775, allocations: 0 / 339.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Templates: time 0.02206/0.1995, allocations: 20.69 MB / 360 MB, free: 2.25 MB / 298.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: 3.2297700110357255]