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.00153/0.00153, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001939/0.001939, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.96/1.96, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.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.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.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.444, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01662/0.4606, allocations: 7.289 MB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008539/0.4692, allocations: 2.575 MB / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.4702, allocations: 55.62 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.473, allocations: 0.6015 MB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.4765, allocations: 0.664 MB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.4777, allocations: 291.6 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.4819, allocations: 2.043 MB / 445.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.4841, allocations: 0.8315 MB / 446.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.4863, allocations: 0.9189 MB / 447.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.4892, allocations: 1.094 MB / 448.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006056/0.4898, allocations: 228 kB / 448.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4908, allocations: 311.8 kB / 449.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.4919, allocations: 0.6427 MB / 449.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.4937, allocations: 0.8402 MB / 450.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005874/0.4995, allocations: 3.028 MB / 453.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4995, allocations: 0 / 453.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4995, allocations: 0 / 453.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.544e-05/0.4996, allocations: 0 / 453.7 MB, free: 1.191 MB / 350.1 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.00826/0.5079, allocations: 2.109 MB / 455.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5079, allocations: 8.031 kB / 455.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5091, allocations: 227.7 kB / 456.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.5131, allocations: 1.078 MB / 457.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5132, allocations: 111.4 kB / 457.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005484/0.5138, allocations: 155.9 kB / 457.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/0.5202, allocations: 2.063 MB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.5203, allocations: 7.953 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.5206, allocations: 63.98 kB / 459.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.5207, allocations: 82.91 kB / 459.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/0.5252, allocations: 1.581 MB / 461.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.5394, allocations: 5.436 MB / 466.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.5415, allocations: 0.7274 MB / 467.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.5431, allocations: 0.5421 MB / 467.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.5433, allocations: 36.62 kB / 468 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.5434, allocations: 51.62 kB / 468 MB, free: 2.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.767e-06/0.5434, allocations: 3.938 kB / 468 MB, free: 2.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.0216/0.565, allocations: 5.462 MB / 473.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.5651, allocations: 68.34 kB / 473.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.5677, allocations: 0.9999 MB / 474.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.5679, allocations: 41.7 kB / 474.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.5689, allocations: 0.804 MB / 475.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.5694, allocations: 313.3 kB / 475.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/0.57, allocations: 206.9 kB / 475.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.5703, allocations: 349.9 kB / 476.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.5717, allocations: 0.5491 MB / 476.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.5737, allocations: 0.8835 MB / 477.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/0.5775, allocations: 1.52 MB / 479.2 MB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.5775, allocations: 0 / 479.2 MB, free: 6.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006489/0.584, allocations: 2.032 MB / 481.2 MB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.584, allocations: 15.94 kB / 481.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.584, allocations: 8 kB / 481.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.5868, allocations: 0.5555 MB / 481.8 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.5885, allocations: 235.6 kB / 482 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.6041, allocations: 8.114 MB / 490.1 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.6059, allocations: 71.86 kB / 490.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.6061, allocations: 48 kB / 490.3 MB, free: 11.45 MB / 398.1 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.001478/0.6076, allocations: 0.5211 MB / 490.8 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.6081, allocations: 123.1 kB / 490.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/0.6139, allocations: 1.746 MB / 492.6 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.614, allocations: 8 kB / 492.7 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.614, allocations: 12 kB / 492.7 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.614, allocations: 3.984 kB / 492.7 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.626, allocations: 3.324 MB / 496 MB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.6261, allocations: 0 / 496 MB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.6272, allocations: 127.8 kB / 496.1 MB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/0.6306, allocations: 0.5887 MB / 496.7 MB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.6308, allocations: 23.98 kB / 496.7 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.6459, allocations: 7.273 MB / 0.4922 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/0.6459, allocations: 11.81 kB / 0.4922 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006954/0.6528, allocations: 2.46 MB / 0.4946 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.6541, allocations: 219.2 kB / 0.4948 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.6545, allocations: 27.92 kB / 0.4948 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6556, allocations: 55.94 kB / 0.4949 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.656, allocations: 68.52 kB / 0.495 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6561, allocations: 24 kB / 0.495 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.6578, allocations: 0.6722 MB / 0.4956 GB, free: 9.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6578, allocations: 0 / 0.4956 GB, free: 9.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002317/0.6601, allocations: 376 kB / 0.496 GB, free: 9.324 MB / 414.1 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.00048/0.6606, allocations: 176.6 kB / 0.4962 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.6653, allocations: 1.928 MB / 0.498 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.6653, allocations: 4 kB / 0.4981 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.6686, allocations: 1.193 MB / 0.4992 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.6714, allocations: 305.5 kB / 0.4995 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.6804, allocations: 3.319 MB / 0.5027 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.6821, allocations: 0.8704 MB / 0.5036 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001338/0.6834, allocations: 253.8 kB / 0.5038 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.6838, allocations: 75.44 kB / 0.5039 GB, free: 1.023 MB / 414.1 MB Notification: Performance of SimCode: time 1.933e-06/0.6838, allocations: 0 / 0.5039 GB, free: 1.023 MB / 414.1 MB Notification: Performance of Templates: time 0.07213/0.756, allocations: 23.02 MB / 0.5264 GB, free: 10.34 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.321381276007742] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.7844442649948178 1.02611963 0.521572433 Calling exit ...