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.001952/0.001952, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002482/0.002482, allocations: 149.4 kB / 24.26 MB, free: 184 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.463/1.463, allocations: 173.4 MB / 200.8 MB, free: 9.297 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 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.831e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01113/0.01116, allocations: 7.283 MB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.01694, allocations: 2.536 MB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.01791, allocations: 47.69 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.01974, allocations: 0.5978 MB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.02162, allocations: 0.6907 MB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.02229, allocations: 295.5 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.02494, allocations: 2.104 MB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.02621, allocations: 0.8002 MB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.02829, allocations: 1.314 MB / 283 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.02967, allocations: 0.9117 MB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.03001, allocations: 228 kB / 284.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.0306, allocations: 311.9 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.03134, allocations: 0.6582 MB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.03227, allocations: 0.7094 MB / 285.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.03585, allocations: 3.034 MB / 288.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.03585, allocations: 0 / 288.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.03586, allocations: 4 kB / 288.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.0359, allocations: 0 / 288.8 MB, free: 1.062 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.1103/0.1462, allocations: 2.074 MB / 290.9 MB, free: 32.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1462, allocations: 9.828 kB / 290.9 MB, free: 32.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008031/0.147, allocations: 355.9 kB / 291.3 MB, free: 32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.1488, allocations: 1.116 MB / 292.4 MB, free: 31.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.1489, allocations: 112.5 kB / 292.5 MB, free: 31.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.1491, allocations: 157.4 kB / 292.6 MB, free: 31.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.1523, allocations: 2.06 MB / 294.7 MB, free: 30.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.1524, allocations: 8.094 kB / 294.7 MB, free: 30.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1525, allocations: 62.94 kB / 294.8 MB, free: 30.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1526, allocations: 77.02 kB / 294.9 MB, free: 30.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.155, allocations: 1.591 MB / 296.4 MB, free: 29.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/0.1629, allocations: 5.533 MB / 302 MB, free: 26.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1641, allocations: 0.7282 MB / 302.7 MB, free: 26.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.165, allocations: 0.5441 MB / 303.2 MB, free: 26.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.1651, allocations: 41.62 kB / 303.3 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1652, allocations: 45.91 kB / 303.3 MB, free: 25.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.425e-06/0.1652, allocations: 1.375 kB / 303.3 MB, free: 25.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.01148/0.1766, allocations: 5.485 MB / 308.8 MB, free: 20.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.1767, allocations: 60.41 kB / 308.9 MB, free: 20.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.1778, allocations: 0.9841 MB / 309.9 MB, free: 19.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.1778, allocations: 41.7 kB / 309.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.1781, allocations: 0.7994 MB / 310.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1783, allocations: 321.2 kB / 311 MB, free: 18.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.1786, allocations: 206.8 kB / 311.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.1787, allocations: 349.9 kB / 311.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.1793, allocations: 0.5536 MB / 312.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.18, allocations: 0.872 MB / 313 MB, free: 16.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.1813, allocations: 1.527 MB / 314.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1813, allocations: 7.938 kB / 314.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002804/0.1841, allocations: 2.075 MB / 316.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1842, allocations: 8 kB / 316.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.1842, allocations: 19.92 kB / 316.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.1859, allocations: 0.6731 MB / 317.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.1867, allocations: 243.6 kB / 317.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.1927, allocations: 8.137 MB / 325.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/0.1937, allocations: 64.05 kB / 325.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.1938, allocations: 51.92 kB / 325.8 MB, free: 3.16 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.0007262/0.1945, allocations: 0.517 MB / 326.3 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.1948, allocations: 151.2 kB / 326.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.1973, allocations: 1.739 MB / 328.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1973, allocations: 11.98 kB / 328.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.1973, allocations: 4 kB / 328.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.1973, allocations: 3.984 kB / 328.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.2038, allocations: 3.329 MB / 331.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2038, allocations: 224 / 331.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.2044, allocations: 131.8 kB / 331.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.2063, allocations: 0.6289 MB / 332.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.2064, allocations: 23.98 kB / 332.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.2165, allocations: 7.289 MB / 339.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2165, allocations: 8 kB / 339.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.2211, allocations: 2.483 MB / 342.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006849/0.2217, allocations: 219.2 kB / 342.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.2219, allocations: 24 kB / 342.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.2225, allocations: 55.94 kB / 342.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.2227, allocations: 76.39 kB / 342.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.2228, allocations: 27.98 kB / 342.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00132/0.2241, allocations: 0.6643 MB / 343.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2241, allocations: 0 / 343.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001385/0.2255, allocations: 371.9 kB / 343.5 MB, free: 0.9844 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.000373/0.2259, allocations: 171 kB / 343.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003681/0.2296, allocations: 1.935 MB / 345.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2296, allocations: 0 / 345.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.2319, allocations: 1.195 MB / 346.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.2335, allocations: 315.9 kB / 347.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.2399, allocations: 3.203 MB / 350.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.2411, allocations: 0.8782 MB / 351.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008341/0.2419, allocations: 241.9 kB / 351.4 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.2422, allocations: 84.42 kB / 351.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2422, allocations: 0 / 351.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of Templates: time 0.04053/0.2827, allocations: 20.53 MB / 372.1 MB, free: 4.562 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.351508025079966]