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.001738/0.001738, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001946/0.001946, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 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.408/1.408, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 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 0.001605/0.001605, allocations: 51.91 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2388, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01074/0.2496, allocations: 7.27 MB / 431.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.2551, allocations: 2.524 MB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.2563, allocations: 47.69 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.2583, allocations: 0.6015 MB / 434.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.2605, allocations: 0.664 MB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.2613, allocations: 295.6 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.2642, allocations: 2.031 MB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.2654, allocations: 0.7924 MB / 438 MB, free: 168 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2668, allocations: 0.9034 MB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.2684, allocations: 1.015 MB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.2688, allocations: 224 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.2694, allocations: 319.7 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.2701, allocations: 0.6389 MB / 441.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.2711, allocations: 0.8402 MB / 442 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003354/0.2744, allocations: 3.013 MB / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2744, allocations: 0 / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2744, allocations: 0 / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.2745, allocations: 0 / 445 MB, free: 9.199 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.004209/0.2787, allocations: 2.11 MB / 447.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2787, allocations: 8.031 kB / 447.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006192/0.2793, allocations: 223.7 kB / 447.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.2816, allocations: 1.082 MB / 448.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2817, allocations: 111.4 kB / 448.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.282, allocations: 156.1 kB / 448.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.2854, allocations: 2.063 MB / 450.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.2854, allocations: 7.953 kB / 450.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.2856, allocations: 63.98 kB / 450.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-05/0.2857, allocations: 78.91 kB / 450.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.2884, allocations: 1.581 MB / 452.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009745/0.2981, allocations: 5.428 MB / 457.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.2995, allocations: 0.7335 MB / 458.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3005, allocations: 0.546 MB / 459.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.3007, allocations: 36.62 kB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3008, allocations: 43.16 kB / 459.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.835e-06/0.3008, allocations: 4 kB / 459.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01369/0.3145, allocations: 5.458 MB / 464.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.3145, allocations: 60.41 kB / 464.8 MB, free: 4.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3161, allocations: 0.9995 MB / 465.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.3162, allocations: 37.7 kB / 465.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.3168, allocations: 0.808 MB / 466.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.3171, allocations: 317.3 kB / 466.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.3175, allocations: 210.8 kB / 467.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3177, allocations: 353.9 kB / 467.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/0.3185, allocations: 0.5452 MB / 468 MB, free: 1.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.3196, allocations: 0.8796 MB / 468.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.3216, allocations: 1.527 MB / 470.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3216, allocations: 4 kB / 470.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003573/0.3252, allocations: 2.028 MB / 472.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3252, allocations: 8 kB / 472.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.3252, allocations: 12 kB / 472.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.3267, allocations: 0.5516 MB / 473 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.3275, allocations: 243.5 kB / 473.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009094/0.3366, allocations: 8.118 MB / 481.4 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.3376, allocations: 67.89 kB / 481.4 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.3377, allocations: 48 kB / 481.5 MB, free: 3.469 MB / 382.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.0009195/0.3386, allocations: 0.5132 MB / 482 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.3389, allocations: 123.2 kB / 482.1 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3421, allocations: 1.746 MB / 483.9 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3421, allocations: 11.94 kB / 483.9 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3421, allocations: 4 kB / 483.9 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3421, allocations: 3.984 kB / 483.9 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006323/0.3484, allocations: 3.32 MB / 487.2 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3484, allocations: 8.156 kB / 487.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.349, allocations: 123.9 kB / 487.3 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.3506, allocations: 0.5926 MB / 487.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.3507, allocations: 27.92 kB / 488 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008763/0.3594, allocations: 7.272 MB / 495.2 MB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.3594, allocations: 7.938 kB / 495.2 MB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.3636, allocations: 2.449 MB / 497.7 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.3643, allocations: 231.1 kB / 497.9 MB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.3645, allocations: 24 kB / 497.9 MB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.3651, allocations: 51.94 kB / 498 MB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.3653, allocations: 72.45 kB / 498.1 MB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/0.3653, allocations: 27.98 kB / 498.1 MB, free: 2.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.3664, allocations: 0.6604 MB / 498.7 MB, free: 1.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3664, allocations: 0 / 498.7 MB, free: 1.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001391/0.3678, allocations: 376 kB / 499.1 MB, free: 1.359 MB / 398.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.0003738/0.3681, allocations: 177.2 kB / 499.3 MB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00349/0.3716, allocations: 1.94 MB / 0.4895 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3716, allocations: 0 / 0.4895 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.3738, allocations: 1.185 MB / 0.4906 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.3755, allocations: 305.7 kB / 0.4909 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.3813, allocations: 3.375 MB / 0.4942 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.3823, allocations: 0.8704 MB / 0.4951 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.3827, allocations: 83.42 kB / 0.4952 GB, free: 9.23 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3827, allocations: 0 / 0.4952 GB, free: 9.23 MB / 414.1 MB Notification: Performance of Templates: time 0.247/0.6296, allocations: 58.76 MB / 0.5525 GB, free: 102.6 MB / 446.1 MB " [Timeout remaining time 659] 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: 11.601526114158332] 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.6378353429026902 0.647209723 0.370406481 Calling exit ...