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.001082/0.001082, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001053/0.001053, allocations: 165 kB / 24.56 MB, free: 8 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 0.9808/0.9808, allocations: 177.2 MB / 205 MB, free: 5.574 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 4.488e-06/4.488e-06, allocations: 3.984 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.12e-05/4.569e-05, allocations: 2.312 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.008168/0.008213, allocations: 8.2 MB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.01205, allocations: 2.692 MB / 283.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.01245, allocations: 51.69 kB / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.01357, allocations: 0.5939 MB / 284.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008857/0.01445, allocations: 0.6985 MB / 285.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.0148, allocations: 291.5 kB / 285.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.0161, allocations: 2.115 MB / 287.6 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.01686, allocations: 0.8041 MB / 288.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009818/0.01784, allocations: 1.345 MB / 289.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1367/0.1546, allocations: 0.9712 MB / 290.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007005/0.1553, allocations: 227.2 kB / 291 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008874/0.1562, allocations: 310.6 kB / 291.3 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.1568, allocations: 0.6696 MB / 292 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.1579, allocations: 0.7228 MB / 292.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.1603, allocations: 1.638 MB / 294.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1603, allocations: 0.5938 kB / 294.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1603, allocations: 0 / 294.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.631e-05/0.1603, allocations: 2.312 kB / 294.3 MB, free: 16.57 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.003666/0.164, allocations: 2.25 MB / 296.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1641, allocations: 9.891 kB / 296.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.1648, allocations: 352.3 kB / 296.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.1664, allocations: 1.055 MB / 298 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.1664, allocations: 115.7 kB / 298.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.1667, allocations: 157 kB / 298.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.1688, allocations: 1.26 MB / 299.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.1689, allocations: 10.27 kB / 299.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.169, allocations: 65.5 kB / 299.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-05/0.1691, allocations: 76.23 kB / 299.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1705, allocations: 0.5659 MB / 300.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.1765, allocations: 5.277 MB / 305.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.1773, allocations: 431.3 kB / 305.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.1778, allocations: 303.6 kB / 306.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.1779, allocations: 51.38 kB / 306.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.178, allocations: 41.89 kB / 306.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.515e-06/0.178, allocations: 0 / 306.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.005469/0.1834, allocations: 2.982 MB / 309.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1835, allocations: 58.84 kB / 309.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.1843, allocations: 0.9367 MB / 310.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.1844, allocations: 44.61 kB / 310.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.1847, allocations: 0.8788 MB / 311.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1849, allocations: 316.1 kB / 311.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.1851, allocations: 214.5 kB / 311.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.1852, allocations: 0.5333 MB / 312.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.1856, allocations: 176.8 kB / 312.4 MB, free: 7.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.186, allocations: 0.6625 MB / 313.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.1869, allocations: 0.9454 MB / 314 MB, free: 6.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.1869, allocations: 0 / 314 MB, free: 6.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001726/0.1886, allocations: 1.176 MB / 315.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1887, allocations: 16.06 kB / 315.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1887, allocations: 8 kB / 315.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.1897, allocations: 400.6 kB / 315.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.1903, allocations: 249.4 kB / 315.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.195, allocations: 8.319 MB / 324.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.1956, allocations: 71.88 kB / 324.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.1957, allocations: 48 kB / 324.3 MB, free: 12.02 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.0003495/0.196, allocations: 221.9 kB / 324.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.1963, allocations: 158.2 kB / 324.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.1979, allocations: 0.9353 MB / 325.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1979, allocations: 8 kB / 325.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1979, allocations: 8 kB / 325.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1979, allocations: 3.984 kB / 325.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.2018, allocations: 2.428 MB / 328.1 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2018, allocations: 4 kB / 328.1 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.2022, allocations: 122.6 kB / 328.2 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.2035, allocations: 371.9 kB / 328.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.2036, allocations: 23.98 kB / 328.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.2073, allocations: 6.632 MB / 335.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2073, allocations: 0 / 335.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.2092, allocations: 1.315 MB / 336.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.2095, allocations: 211.2 kB / 336.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/0.2096, allocations: 20 kB / 336.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.2099, allocations: 59.94 kB / 336.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.21, allocations: 72.45 kB / 336.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.21, allocations: 23.98 kB / 336.9 MB, free: 15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005426/0.2106, allocations: 0.555 MB / 337.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2106, allocations: 3.188 kB / 337.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009819/0.2116, allocations: 368 kB / 337.8 MB, free: 14.08 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.0002713/0.2118, allocations: 179.1 kB / 338 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.2135, allocations: 1.561 MB / 339.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2135, allocations: 4 kB / 339.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.2145, allocations: 1.104 MB / 340.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.2155, allocations: 314 kB / 341 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.2195, allocations: 2.796 MB / 343.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2199, allocations: 417.1 kB / 344.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004259/0.2203, allocations: 209.8 kB / 344.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.2205, allocations: 80.48 kB / 344.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2205, allocations: 0 / 344.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of Templates: time 0.02583/0.2463, allocations: 20.78 MB / 365.2 MB, free: 2.879 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.526814777869731]