Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001315/0.001315, allocations: 116.1 kB / 21.17 MB, free: 0.6133 MB / 14.72 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.001444/0.001444, allocations: 205.9 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.83 kB / 378.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.0106/0.2622, allocations: 8.292 MB / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.2678, allocations: 2.75 MB / 443.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.2689, allocations: 43.81 kB / 443.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.2709, allocations: 0.6486 MB / 443.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.2731, allocations: 0.6679 MB / 444.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.2738, allocations: 291.5 kB / 444.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.2766, allocations: 2.039 MB / 446.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2778, allocations: 0.8271 MB / 447.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.2793, allocations: 0.8994 MB / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.2811, allocations: 1.094 MB / 449.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.2815, allocations: 228 kB / 449.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006843/0.2821, allocations: 323.8 kB / 450.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006892/0.2828, allocations: 0.6465 MB / 450.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.284, allocations: 1.031 MB / 451.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.2876, allocations: 3.005 MB / 454.8 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2876, allocations: 3.938 kB / 454.8 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2876, allocations: 3.938 kB / 454.8 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.018e-05/0.2876, allocations: 0 / 454.8 MB, free: 452 kB / 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.004463/0.2921, allocations: 2.182 MB / 457 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2921, allocations: 8.031 kB / 457 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.2928, allocations: 231.6 kB / 457.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.2948, allocations: 1.138 MB / 458.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/0.2949, allocations: 123.4 kB / 458.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.2952, allocations: 159.9 kB / 458.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.2984, allocations: 1.955 MB / 460.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.2985, allocations: 3.953 kB / 460.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.2986, allocations: 64 kB / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.942e-05/0.2987, allocations: 82.91 kB / 460.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.3013, allocations: 1.581 MB / 462.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.3118, allocations: 6.286 MB / 468.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3133, allocations: 0.8 MB / 469.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.3143, allocations: 0.5457 MB / 470 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.3146, allocations: 125.6 kB / 470.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3146, allocations: 39.59 kB / 470.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.996e-06/0.3146, allocations: 0 / 470.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01363/0.3283, allocations: 5.846 MB / 476 MB, free: 10.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3283, allocations: 64.39 kB / 476.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.3301, allocations: 1.152 MB / 477.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.3302, allocations: 41.7 kB / 477.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/0.3309, allocations: 0.7964 MB / 478 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.3312, allocations: 325.3 kB / 478.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.3315, allocations: 202.9 kB / 478.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3317, allocations: 353.9 kB / 478.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.3325, allocations: 0.5413 MB / 479.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3336, allocations: 0.8835 MB / 480.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.3357, allocations: 1.524 MB / 481.8 MB, free: 4.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3357, allocations: 4 kB / 481.9 MB, free: 4.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003571/0.3393, allocations: 2.04 MB / 483.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.3393, allocations: 12.25 kB / 483.9 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.3393, allocations: 15.94 kB / 483.9 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.3407, allocations: 0.5475 MB / 484.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.3416, allocations: 239.6 kB / 484.7 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009143/0.3507, allocations: 8.663 MB / 493.4 MB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.3519, allocations: 71.83 kB / 493.4 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.352, allocations: 52 kB / 493.5 MB, free: 8.258 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.0009707/0.353, allocations: 0.5209 MB / 494 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.3532, allocations: 131.2 kB / 494.1 MB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.3563, allocations: 1.759 MB / 495.9 MB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.3563, allocations: 8 kB / 495.9 MB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3563, allocations: 4 kB / 495.9 MB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3563, allocations: 3.984 kB / 495.9 MB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007198/0.3635, allocations: 3.737 MB / 499.6 MB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3635, allocations: 0 / 499.6 MB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.3641, allocations: 127.8 kB / 499.8 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.3658, allocations: 0.587 MB / 0.4886 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.3659, allocations: 23.98 kB / 0.4887 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009117/0.375, allocations: 7.711 MB / 0.4962 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.375, allocations: 3.938 kB / 0.4962 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.3791, allocations: 2.477 MB / 0.4986 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000848/0.38, allocations: 316.2 kB / 0.4989 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.3803, allocations: 27.94 kB / 0.4989 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.3811, allocations: 55.94 kB / 0.499 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3813, allocations: 60.56 kB / 0.499 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.3814, allocations: 31.98 kB / 0.4991 GB, free: 6.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001407/0.3828, allocations: 0.7934 MB / 0.4999 GB, free: 5.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3828, allocations: 4 kB / 0.4999 GB, free: 5.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00152/0.3843, allocations: 372 kB / 0.5002 GB, free: 4.898 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.0004616/0.3848, allocations: 179.2 kB / 0.5004 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003636/0.3884, allocations: 2.08 MB / 0.5024 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3884, allocations: 0 / 0.5024 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.3906, allocations: 1.271 MB / 0.5037 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.3927, allocations: 370.8 kB / 0.504 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.3991, allocations: 3.408 MB / 0.5073 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.4006, allocations: 1.448 MB / 0.5088 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.401, allocations: 87.42 kB / 0.5088 GB, free: 11.82 MB / 430.1 MB Notification: Performance of SimCode: time 1.462e-06/0.401, allocations: 4 kB / 0.5088 GB, free: 11.82 MB / 430.1 MB Notification: Performance of Templates: time 0.2587/0.6596, allocations: 59.51 MB / 0.5669 GB, free: 81.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.006108685862273] 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.6681724209338427 0.677899156 0.38785903000000005 Calling exit ...