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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001499/0.001499, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.638/1.638, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001714/0.001714, allocations: 51.92 kB / 378.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2385, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01109/0.2496, allocations: 7.289 MB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.2556, allocations: 2.576 MB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.2569, allocations: 47.69 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.2589, allocations: 0.6015 MB / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.2614, allocations: 0.668 MB / 442.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.2622, allocations: 291.5 kB / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.2651, allocations: 2.043 MB / 445.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.2664, allocations: 0.8002 MB / 445.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.2678, allocations: 0.915 MB / 446.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.2692, allocations: 1.015 MB / 447.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.2695, allocations: 228 kB / 448.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.2701, allocations: 315.8 kB / 448.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006994/0.2708, allocations: 0.6388 MB / 449 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009872/0.2718, allocations: 0.8363 MB / 449.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.275, allocations: 3.028 MB / 452.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.275, allocations: 0 / 452.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.275, allocations: 0 / 452.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.2751, allocations: 0 / 452.9 MB, free: 1.348 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.004122/0.2792, allocations: 2.109 MB / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2792, allocations: 8.031 kB / 455 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.2798, allocations: 231.6 kB / 455.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.282, allocations: 1.078 MB / 456.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.2821, allocations: 111.4 kB / 456.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.2824, allocations: 167.9 kB / 456.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.2856, allocations: 2.047 MB / 458.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.2857, allocations: 15.88 kB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.2858, allocations: 63.98 kB / 458.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.2859, allocations: 74.92 kB / 458.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.2887, allocations: 1.581 MB / 460.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009519/0.2982, allocations: 5.444 MB / 465.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.2996, allocations: 0.7248 MB / 466.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.3007, allocations: 0.5421 MB / 467.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.3009, allocations: 36.62 kB / 467.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3009, allocations: 47.16 kB / 467.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.945e-06/0.3009, allocations: 0 / 467.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01421/0.3151, allocations: 5.462 MB / 472.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3152, allocations: 68.34 kB / 472.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.3169, allocations: 0.9921 MB / 473.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/0.317, allocations: 41.7 kB / 473.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.3176, allocations: 0.808 MB / 474.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.3179, allocations: 317.3 kB / 474.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.3182, allocations: 210.9 kB / 475 MB, free: 10.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3184, allocations: 353.9 kB / 475.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008205/0.3192, allocations: 0.5413 MB / 475.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.3203, allocations: 0.8834 MB / 476.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.3224, allocations: 1.516 MB / 478.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3224, allocations: 8 kB / 478.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003705/0.3261, allocations: 2.028 MB / 480.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3261, allocations: 12 kB / 480.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3262, allocations: 8 kB / 480.4 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.3277, allocations: 0.5593 MB / 480.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.3285, allocations: 243.6 kB / 481.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/0.3378, allocations: 8.099 MB / 489.3 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3389, allocations: 75.92 kB / 489.3 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.339, allocations: 51.94 kB / 489.4 MB, free: 11.6 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.0009405/0.34, allocations: 0.5169 MB / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.3402, allocations: 119.2 kB / 490 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.3434, allocations: 1.742 MB / 491.8 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3434, allocations: 8 kB / 491.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.3434, allocations: 4 kB / 491.8 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3434, allocations: 11.98 kB / 491.8 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.35, allocations: 3.328 MB / 495.1 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.35, allocations: 4 kB / 495.1 MB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/0.3506, allocations: 123.8 kB / 495.2 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/0.3523, allocations: 0.5966 MB / 495.8 MB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.3523, allocations: 27.98 kB / 495.9 MB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/0.3613, allocations: 7.269 MB / 0.4913 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.3613, allocations: 3.938 kB / 0.4913 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.3655, allocations: 2.46 MB / 0.4937 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/0.3662, allocations: 223.2 kB / 0.494 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.3664, allocations: 20 kB / 0.494 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.367, allocations: 55.94 kB / 0.494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.3672, allocations: 72.61 kB / 0.4941 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-05/0.3673, allocations: 31.92 kB / 0.4941 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.3684, allocations: 0.6645 MB / 0.4948 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 0.4948 GB, free: 9.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001419/0.3698, allocations: 376 kB / 0.4951 GB, free: 9.48 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.0003709/0.3702, allocations: 179 kB / 0.4953 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.3737, allocations: 1.929 MB / 0.4972 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3737, allocations: 0 / 0.4972 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.3759, allocations: 1.196 MB / 0.4984 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.3775, allocations: 306.5 kB / 0.4986 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.3829, allocations: 3.321 MB / 0.5019 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.3841, allocations: 0.886 MB / 0.5028 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007382/0.3848, allocations: 241.9 kB / 0.503 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.385, allocations: 79.42 kB / 0.5031 GB, free: 1.168 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.385, allocations: 0 / 0.5031 GB, free: 1.168 MB / 414.1 MB Notification: Performance of Templates: time 0.03928/0.4243, allocations: 22.61 MB / 0.5251 GB, free: 10.91 MB / 446.1 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=480 -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: 5.524636372923851] 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.43403975665569305 0.6020573850000001 0.323830461 Calling exit ...