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.001442/0.001442, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.001057/0.001057, allocations: 165.1 kB / 24.99 MB, free: 8.797 MB / 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.9017/0.9017, allocations: 177 MB / 205.2 MB, free: 5.586 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.914e-06/1.914e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.232e-05, allocations: 2.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006446/0.006468, allocations: 8.19 MB / 281.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.009793, allocations: 2.684 MB / 283.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.01019, allocations: 51.62 kB / 283.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.01119, allocations: 0.5939 MB / 284.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008361/0.01203, allocations: 0.6946 MB / 285.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.01236, allocations: 295.5 kB / 285.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.01366, allocations: 2.116 MB / 287.6 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.01441, allocations: 0.8002 MB / 288.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.01547, allocations: 1.341 MB / 289.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.111/0.1265, allocations: 0.977 MB / 290.7 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006274/0.1271, allocations: 227.1 kB / 291 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.1278, allocations: 314.6 kB / 291.3 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.1282, allocations: 0.6693 MB / 291.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.1292, allocations: 0.7201 MB / 292.7 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.131, allocations: 1.643 MB / 294.3 MB, free: 16.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.131, allocations: 1.375 kB / 294.3 MB, free: 16.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.131, allocations: 0.5312 kB / 294.3 MB, free: 16.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.807e-05/0.1311, allocations: 1.094 kB / 294.3 MB, free: 16.83 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.002813/0.1339, allocations: 2.254 MB / 296.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1339, allocations: 13.17 kB / 296.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006075/0.1345, allocations: 353.8 kB / 296.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.1357, allocations: 1.073 MB / 298 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.1358, allocations: 110 kB / 298.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.136, allocations: 154 kB / 298.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.1376, allocations: 1.262 MB / 299.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1376, allocations: 8.016 kB / 299.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/0.1377, allocations: 65.69 kB / 299.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/0.1378, allocations: 76.41 kB / 299.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1389, allocations: 0.5616 MB / 300.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.1434, allocations: 5.282 MB / 305.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.144, allocations: 424.9 kB / 305.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.1445, allocations: 312.2 kB / 306.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.1446, allocations: 42.78 kB / 306.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1446, allocations: 40.98 kB / 306.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.964e-06/0.1446, allocations: 4 kB / 306.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.004246/0.1488, allocations: 2.99 MB / 309.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.1489, allocations: 63.53 kB / 309.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.1496, allocations: 0.934 MB / 310.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.1496, allocations: 44.5 kB / 310.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.1499, allocations: 0.8813 MB / 311.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.15, allocations: 310.8 kB / 311.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1502, allocations: 217.4 kB / 311.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.1503, allocations: 0.536 MB / 312.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.1505, allocations: 180.2 kB / 312.4 MB, free: 8.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.1509, allocations: 0.6635 MB / 313.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.1516, allocations: 0.9466 MB / 314.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1516, allocations: 6.406 kB / 314.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001353/0.1529, allocations: 1.177 MB / 315.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.153, allocations: 8 kB / 315.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.153, allocations: 12 kB / 315.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008118/0.1538, allocations: 403.4 kB / 315.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.1542, allocations: 245.4 kB / 315.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.1577, allocations: 8.309 MB / 324.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.1581, allocations: 75.88 kB / 324.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.1581, allocations: 48.12 kB / 324.3 MB, free: 12.23 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.0002884/0.1584, allocations: 226.7 kB / 324.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1586, allocations: 139.3 kB / 324.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1599, allocations: 0.947 MB / 325.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1599, allocations: 8 kB / 325.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1599, allocations: 4 kB / 325.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1599, allocations: 3.984 kB / 325.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.1628, allocations: 2.446 MB / 328.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1628, allocations: 0 / 328.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1631, allocations: 126.7 kB / 328.2 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007758/0.1638, allocations: 365.5 kB / 328.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.1639, allocations: 23.98 kB / 328.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.1676, allocations: 6.621 MB / 335.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1676, allocations: 4.062 kB / 335.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.1692, allocations: 1.314 MB / 336.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.1695, allocations: 219.1 kB / 336.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.1695, allocations: 20 kB / 336.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.1699, allocations: 51.94 kB / 336.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.17, allocations: 75.83 kB / 336.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.17, allocations: 27.98 kB / 336.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005142/0.1705, allocations: 0.5552 MB / 337.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1705, allocations: 4 kB / 337.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.1713, allocations: 368 kB / 337.8 MB, free: 14.28 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.000243/0.1716, allocations: 187.2 kB / 338 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.1731, allocations: 1.56 MB / 339.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1731, allocations: 0 / 339.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.1741, allocations: 1.105 MB / 340.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.1749, allocations: 319.7 kB / 341 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.1781, allocations: 2.789 MB / 343.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1784, allocations: 419.9 kB / 344.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.1788, allocations: 213.8 kB / 344.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.179, allocations: 76.5 kB / 344.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of SimCode: time 9.81e-07/0.179, allocations: 0 / 344.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of Templates: time 0.02235/0.2013, allocations: 20.78 MB / 365.3 MB, free: 3.098 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.1663255309686065]