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.001846/0.001846, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002744/0.002744, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001999/0.001999, allocations: 64.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2161, allocations: 53.38 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01067/0.2268, allocations: 8.286 MB / 440.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005635/0.2324, allocations: 2.762 MB / 443.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.2333, allocations: 51.62 kB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.235, allocations: 0.6484 MB / 444.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2367, allocations: 0.6679 MB / 444.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.2373, allocations: 295.5 kB / 445.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00245/0.2398, allocations: 2.039 MB / 447.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.2411, allocations: 0.8354 MB / 448 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.2423, allocations: 0.9072 MB / 448.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.2439, allocations: 1.094 MB / 450 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003547/0.2443, allocations: 228 kB / 450.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.2449, allocations: 331.8 kB / 450.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000704/0.2456, allocations: 0.6387 MB / 451.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.2466, allocations: 1.035 MB / 452.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.2499, allocations: 3.001 MB / 455.2 MB, free: 40 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2499, allocations: 0 / 455.2 MB, free: 40 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2499, allocations: 4 kB / 455.2 MB, free: 36 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.717e-05/0.25, allocations: 0 / 455.2 MB, free: 36 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.004326/0.2543, allocations: 2.111 MB / 457.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2543, allocations: 8.031 kB / 457.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006136/0.2549, allocations: 231.6 kB / 457.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.2569, allocations: 1.074 MB / 458.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.257, allocations: 115.3 kB / 458.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.2572, allocations: 159.9 kB / 458.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/0.2605, allocations: 1.959 MB / 460.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.2606, allocations: 3.953 kB / 460.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.2607, allocations: 67.98 kB / 460.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.2608, allocations: 82.89 kB / 461 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.2635, allocations: 1.577 MB / 462.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009673/0.2732, allocations: 6.179 MB / 468.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.2746, allocations: 0.7281 MB / 469.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009979/0.2756, allocations: 0.5426 MB / 470.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.2758, allocations: 44.56 kB / 470.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.2758, allocations: 43.16 kB / 470.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.354e-06/0.2758, allocations: 4 kB / 470.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01327/0.2891, allocations: 5.47 MB / 475.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.2892, allocations: 64.41 kB / 475.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.291, allocations: 1.152 MB / 476.8 MB, free: 10 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.2911, allocations: 37.7 kB / 476.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007167/0.2918, allocations: 0.8003 MB / 477.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.2921, allocations: 317.3 kB / 478 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.2924, allocations: 210.9 kB / 478.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.2926, allocations: 345.9 kB / 478.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008801/0.2935, allocations: 0.5452 MB / 479.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.2946, allocations: 0.8835 MB / 479.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.2968, allocations: 1.52 MB / 481.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.2968, allocations: 4 kB / 481.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003814/0.3006, allocations: 2.048 MB / 483.5 MB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.3006, allocations: 11.98 kB / 483.5 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.3006, allocations: 15.94 kB / 483.5 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.3022, allocations: 0.5478 MB / 484.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.3031, allocations: 243.6 kB / 484.3 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009229/0.3123, allocations: 8.242 MB / 492.6 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3134, allocations: 83.98 kB / 492.7 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.3135, allocations: 47.98 kB / 492.7 MB, free: 9.301 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.0009378/0.3145, allocations: 0.5169 MB / 493.2 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.3147, allocations: 131.2 kB / 493.3 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.3179, allocations: 1.759 MB / 495.1 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.318, allocations: 8 kB / 495.1 MB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.318, allocations: 8 kB / 495.1 MB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.318, allocations: 3.984 kB / 495.1 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/0.3249, allocations: 3.701 MB / 498.8 MB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3249, allocations: 0 / 498.8 MB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.3254, allocations: 127.8 kB / 499 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.3271, allocations: 0.5954 MB / 499.5 MB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.3272, allocations: 27.98 kB / 499.6 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009329/0.3365, allocations: 7.389 MB / 0.4951 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3365, allocations: 7.938 kB / 0.4951 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.3407, allocations: 2.477 MB / 0.4975 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.3414, allocations: 243.1 kB / 0.4977 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.3416, allocations: 27.92 kB / 0.4978 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.3422, allocations: 60.19 kB / 0.4978 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.3424, allocations: 68.47 kB / 0.4979 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.3425, allocations: 31.98 kB / 0.4979 GB, free: 7.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.3437, allocations: 0.7856 MB / 0.4987 GB, free: 6.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3437, allocations: 0 / 0.4987 GB, free: 6.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001257/0.3449, allocations: 379.9 kB / 0.499 GB, free: 6.445 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.0003325/0.3453, allocations: 175 kB / 0.4992 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003294/0.3485, allocations: 1.925 MB / 0.5011 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3485, allocations: 0 / 0.5011 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.3506, allocations: 1.185 MB / 0.5023 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.3522, allocations: 389.7 kB / 0.5026 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.3577, allocations: 3.344 MB / 0.5059 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.359, allocations: 1.46 MB / 0.5073 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007819/0.3598, allocations: 263.1 kB / 0.5076 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.36, allocations: 87.42 kB / 0.5076 GB, free: 13.46 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.36, allocations: 0 / 0.5076 GB, free: 13.46 MB / 430.1 MB Notification: Performance of Templates: time 0.04092/0.4009, allocations: 22.98 MB / 0.5301 GB, free: 6.707 MB / 446.1 MB " [Timeout remaining time 660] 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: 5.471527621150017] 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.4104246934875846 0.590613692 0.338145534 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0ca880d7b0>