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.001/0.001, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009552/0.0009552, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 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 0.9378/0.9378, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|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.[0-9,]+.|loadInertia.phi|loadInertia.w|imc.idq_sr.[0-9,]+.|imc.is.[0-9,]+.|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.243e-06/1.243e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.875e-05, allocations: 6.312 kB / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.00694/0.006959, allocations: 8.163 MB / 281.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.01032, allocations: 2.688 MB / 283.9 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.01073, allocations: 55.62 kB / 284 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.01175, allocations: 0.5939 MB / 284.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008587/0.01261, allocations: 0.6946 MB / 285.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.01296, allocations: 295.5 kB / 285.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.0143, allocations: 2.104 MB / 287.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.01503, allocations: 0.8041 MB / 288.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01605, allocations: 1.337 MB / 289.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.119/0.135, allocations: 0.9878 MB / 290.8 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.1357, allocations: 226.3 kB / 291 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008107/0.1365, allocations: 310 kB / 291.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.1371, allocations: 0.6691 MB / 292 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.1384, allocations: 0.7223 MB / 292.7 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.1408, allocations: 1.634 MB / 294.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1408, allocations: 0 / 294.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1408, allocations: 0.9375 kB / 294.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.026e-05/0.1409, allocations: 2.094 kB / 294.3 MB, free: 16.89 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.00389/0.1448, allocations: 2.255 MB / 296.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1448, allocations: 9.188 kB / 296.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.1456, allocations: 351.5 kB / 296.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.1472, allocations: 1.053 MB / 298 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.1473, allocations: 116.1 kB / 298.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.1475, allocations: 156.1 kB / 298.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.1499, allocations: 1.259 MB / 299.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.516e-05/0.1499, allocations: 10.89 kB / 299.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.15, allocations: 62.09 kB / 299.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.09e-05/0.1501, allocations: 83.08 kB / 299.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.1517, allocations: 0.5611 MB / 300.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007015/0.1587, allocations: 5.287 MB / 305.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.1595, allocations: 422.4 kB / 305.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.1599, allocations: 315.8 kB / 306.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.1601, allocations: 40.55 kB / 306.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1601, allocations: 48.86 kB / 306.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.785e-06/0.1601, allocations: 0 / 306.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.005036/0.1651, allocations: 2.983 MB / 309.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1652, allocations: 62.69 kB / 309.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.166, allocations: 0.928 MB / 310.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.1661, allocations: 41.08 kB / 310.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.1664, allocations: 0.8725 MB / 311.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1666, allocations: 318.3 kB / 311.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.1668, allocations: 221.6 kB / 311.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.1668, allocations: 0.5323 MB / 312.3 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.1671, allocations: 184.2 kB / 312.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.1675, allocations: 0.6611 MB / 313.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.1682, allocations: 0.9436 MB / 314.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.1682, allocations: 3.875 kB / 314.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001462/0.1697, allocations: 1.173 MB / 315.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1697, allocations: 8 kB / 315.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.1697, allocations: 12 kB / 315.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/0.1706, allocations: 401.2 kB / 315.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.171, allocations: 244.5 kB / 315.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/0.1747, allocations: 8.328 MB / 324.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.1753, allocations: 71.89 kB / 324.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.1754, allocations: 54.72 kB / 324.3 MB, free: 12.39 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.000457/0.1758, allocations: 223.7 kB / 324.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.176, allocations: 143.2 kB / 324.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.1773, allocations: 0.9425 MB / 325.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1773, allocations: 12 kB / 325.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1773, allocations: 7.984 kB / 325.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1773, allocations: 3.984 kB / 325.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.1807, allocations: 2.421 MB / 328.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1807, allocations: 2.844 kB / 328.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.181, allocations: 127.6 kB / 328.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008401/0.1818, allocations: 372.8 kB / 328.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.1819, allocations: 23.98 kB / 328.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/0.186, allocations: 6.616 MB / 335.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.186, allocations: 8 kB / 335.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.1879, allocations: 1.312 MB / 336.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.1884, allocations: 211.1 kB / 336.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1885, allocations: 23.98 kB / 336.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.1888, allocations: 55.94 kB / 336.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.189, allocations: 75.92 kB / 336.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.189, allocations: 24 kB / 336.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007097/0.1897, allocations: 0.5511 MB / 337.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1897, allocations: 0 / 337.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001733/0.1915, allocations: 376 kB / 337.8 MB, free: 14.46 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.0004462/0.1919, allocations: 174 kB / 338 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.1951, allocations: 1.575 MB / 339.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.1951, allocations: 0 / 339.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003522/0.1986, allocations: 1.105 MB / 340.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.1999, allocations: 309.8 kB / 341 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.2042, allocations: 2.81 MB / 343.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.2046, allocations: 409.2 kB / 344.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.2054, allocations: 213.8 kB / 344.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2057, allocations: 76.5 kB / 344.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2057, allocations: 0 / 344.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of Templates: time 0.02541/0.2311, allocations: 20.78 MB / 365.3 MB, free: 3.27 MB / 314.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.136305718915537]