Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009951/0.0009951, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009642/0.0009642, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9471/0.9471, allocations: 177 MB / 204.8 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.305e-05, allocations: 5.266 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009878/0.009911, allocations: 8.215 MB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.01377, allocations: 2.695 MB / 283.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.01414, allocations: 55.69 kB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.01519, allocations: 0.5939 MB / 284.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008632/0.01606, allocations: 0.6985 MB / 285.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.01638, allocations: 291.5 kB / 285.5 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01768, allocations: 2.116 MB / 287.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007536/0.01843, allocations: 0.8041 MB / 288.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.0194, allocations: 1.341 MB / 289.7 MB, free: 380 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1165/0.1359, allocations: 0.9742 MB / 290.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006651/0.1365, allocations: 226.5 kB / 290.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.1373, allocations: 317.8 kB / 291.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000532/0.1378, allocations: 0.6654 MB / 291.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.139, allocations: 0.7222 MB / 292.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.1412, allocations: 1.64 MB / 294.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1412, allocations: 2 kB / 294.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1412, allocations: 2.156 kB / 294.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.96e-05/0.1413, allocations: 0.6562 kB / 294.3 MB, free: 16.52 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.003317/0.1446, allocations: 2.25 MB / 296.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1446, allocations: 14.28 kB / 296.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.1453, allocations: 355.8 kB / 296.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.1467, allocations: 1.064 MB / 297.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.1468, allocations: 116.3 kB / 298.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.147, allocations: 160.9 kB / 298.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1488, allocations: 1.257 MB / 299.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.1489, allocations: 2.875 kB / 299.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/0.149, allocations: 67.11 kB / 299.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.3e-05/0.1491, allocations: 76.66 kB / 299.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.1503, allocations: 0.5668 MB / 300.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.1559, allocations: 5.278 MB / 305.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.1566, allocations: 435.2 kB / 305.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.157, allocations: 303.8 kB / 306.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.1571, allocations: 40.62 kB / 306.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1571, allocations: 48.8 kB / 306.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 3.576e-06/0.1572, allocations: 0 / 306.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.004857/0.162, allocations: 2.986 MB / 309.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.162, allocations: 60.78 kB / 309.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.1629, allocations: 0.9364 MB / 310.2 MB, free: 9.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.1629, allocations: 40.92 kB / 310.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.1632, allocations: 0.878 MB / 311.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.1634, allocations: 316.3 kB / 311.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.1636, allocations: 215.9 kB / 311.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.1636, allocations: 0.5312 MB / 312.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.1639, allocations: 185.1 kB / 312.4 MB, free: 7.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.1643, allocations: 0.6659 MB / 313.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.165, allocations: 0.9383 MB / 314 MB, free: 6.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.165, allocations: 3.562 kB / 314 MB, free: 6.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001436/0.1665, allocations: 1.184 MB / 315.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1665, allocations: 12 kB / 315.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1665, allocations: 8 kB / 315.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.1674, allocations: 405.5 kB / 315.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.1678, allocations: 248.7 kB / 315.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.1718, allocations: 8.305 MB / 324.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.1724, allocations: 75.88 kB / 324.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.1724, allocations: 48 kB / 324.3 MB, free: 11.84 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.0004499/0.1729, allocations: 226.6 kB / 324.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.1731, allocations: 147.3 kB / 324.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.1744, allocations: 0.9396 MB / 325.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1744, allocations: 8 kB / 325.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1744, allocations: 4 kB / 325.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1744, allocations: 7.047 kB / 325.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.1778, allocations: 2.43 MB / 328 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1778, allocations: 4.75 kB / 328 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.1781, allocations: 127.2 kB / 328.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/0.1789, allocations: 372.4 kB / 328.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.179, allocations: 23.98 kB / 328.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/0.183, allocations: 6.63 MB / 335.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.183, allocations: 0 / 335.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.1847, allocations: 1.317 MB / 336.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.1851, allocations: 211.1 kB / 336.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.1852, allocations: 27.98 kB / 336.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.1855, allocations: 55.94 kB / 336.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1856, allocations: 71.75 kB / 336.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.1856, allocations: 31.3 kB / 336.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005746/0.1862, allocations: 0.5513 MB / 337.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1862, allocations: 0 / 337.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001064/0.1873, allocations: 380 kB / 337.8 MB, free: 13.89 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.0002618/0.1875, allocations: 176 kB / 338 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.1892, allocations: 1.564 MB / 339.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1892, allocations: 0 / 339.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1902, allocations: 1.106 MB / 340.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.1911, allocations: 319.4 kB / 341 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.1948, allocations: 2.808 MB / 343.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1951, allocations: 409.2 kB / 344.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004318/0.1955, allocations: 209.8 kB / 344.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.1957, allocations: 76.48 kB / 344.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1957, allocations: 0 / 344.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of Templates: time 0.02396/0.2197, allocations: 20.78 MB / 365.2 MB, free: 2.703 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2500958321616054]