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.001335/0.001335, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001401/0.001401, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.395/1.395, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001966/0.001966, allocations: 67.78 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2127, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009917/0.2226, allocations: 8.288 MB / 440.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004481/0.2271, allocations: 2.75 MB / 443.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.2276, allocations: 39.88 kB / 443.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.2289, allocations: 0.6408 MB / 443.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.2302, allocations: 0.6718 MB / 444.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.2308, allocations: 291.5 kB / 444.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.2329, allocations: 2.035 MB / 446.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.234, allocations: 0.8349 MB / 447.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2351, allocations: 0.9032 MB / 448.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.2365, allocations: 1.094 MB / 449.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002849/0.2368, allocations: 228 kB / 449.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.2373, allocations: 319.8 kB / 450.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.2379, allocations: 0.6466 MB / 450.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2389, allocations: 1.034 MB / 451.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.2419, allocations: 3.005 MB / 454.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.242, allocations: 3.938 kB / 454.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.242, allocations: 0 / 454.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.242, allocations: 0 / 454.8 MB, free: 0.4922 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.003894/0.2459, allocations: 2.186 MB / 457 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2459, allocations: 8.031 kB / 457 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.2465, allocations: 223.7 kB / 457.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.2485, allocations: 1.15 MB / 458.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.2486, allocations: 111.4 kB / 458.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.2488, allocations: 155.9 kB / 458.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.252, allocations: 1.963 MB / 460.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.252, allocations: 3.953 kB / 460.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.2522, allocations: 64 kB / 460.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-05/0.2522, allocations: 74.92 kB / 460.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.2549, allocations: 1.589 MB / 462.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009583/0.2645, allocations: 6.286 MB / 468.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.2659, allocations: 0.8082 MB / 469.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.2669, allocations: 0.5379 MB / 470 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.2672, allocations: 117.6 kB / 470.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.2672, allocations: 43.12 kB / 470.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.305e-06/0.2672, allocations: 0 / 470.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01383/0.281, allocations: 5.846 MB / 476 MB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2811, allocations: 72.34 kB / 476.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.2827, allocations: 1.149 MB / 477.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.2828, allocations: 41.7 kB / 477.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/0.2834, allocations: 0.7925 MB / 478 MB, free: 8.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.2837, allocations: 325.2 kB / 478.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.284, allocations: 206.9 kB / 478.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2842, allocations: 345.9 kB / 478.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.285, allocations: 0.5452 MB / 479.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.2862, allocations: 0.8796 MB / 480.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.2882, allocations: 1.527 MB / 481.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2882, allocations: 4 kB / 481.9 MB, free: 4.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003578/0.2918, allocations: 2.04 MB / 483.9 MB, free: 2.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2918, allocations: 12 kB / 483.9 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.2918, allocations: 8 kB / 483.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.2933, allocations: 0.5555 MB / 484.5 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/0.2942, allocations: 235.7 kB / 484.7 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009522/0.3037, allocations: 8.667 MB / 493.4 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/0.3045, allocations: 75.81 kB / 493.4 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.3046, allocations: 48 kB / 493.5 MB, free: 8.312 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.0008245/0.3054, allocations: 0.5209 MB / 494 MB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.3057, allocations: 127.2 kB / 494.1 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/0.3088, allocations: 1.755 MB / 495.9 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3089, allocations: 7.969 kB / 495.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3089, allocations: 0 / 495.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/0.3095, allocations: 320.2 kB / 496.2 MB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.3097, allocations: 24 kB / 496.2 MB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.3103, allocations: 55.92 kB / 496.3 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.3104, allocations: 88.81 kB / 496.4 MB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004102/0.3146, allocations: 1.894 MB / 498.3 MB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002862/0.3174, allocations: 2.095 MB / 0.4886 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007569/0.3182, allocations: 0.5309 MB / 0.4892 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.3193, allocations: 0.7934 MB / 0.4899 GB, free: 16 kB / 398.1 MB Notification: Performance of Backend: time 1.7e-07/0.3193, allocations: 0 / 0.4899 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003409/0.3227, allocations: 1.776 MB / 0.4917 GB, free: 14.14 MB / 414.1 MB Notification: Performance of SimCode: time 0.00573/0.3284, allocations: 3.836 MB / 0.4954 GB, free: 10.25 MB / 414.1 MB Notification: Performance of Templates: time 0.03826/0.3667, allocations: 23 MB / 0.5179 GB, free: 3.48 MB / 430.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: 4.794205191079527] 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.37458252301439643 0.38778351799999994 0.14290618399999994 Calling exit ...