Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001841/0.001841, allocations: 109.1 kB / 21.18 MB, free: 0.7617 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.002696/0.002696, allocations: 209.5 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.5 MB / 258.1 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 59.91 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.233, allocations: 53.4 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01058/0.2436, allocations: 8.286 MB / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.2489, allocations: 2.763 MB / 443.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.25, allocations: 51.69 kB / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.252, allocations: 0.6444 MB / 444.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.2541, allocations: 0.6796 MB / 444.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.255, allocations: 291.5 kB / 445.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002985/0.2579, allocations: 2.035 MB / 447.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.2594, allocations: 0.8393 MB / 448 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.261, allocations: 0.915 MB / 448.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.2629, allocations: 1.098 MB / 450 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005812/0.2635, allocations: 224 kB / 450.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009387/0.2645, allocations: 323.8 kB / 450.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008801/0.2653, allocations: 0.6427 MB / 451.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.267, allocations: 1.038 MB / 452.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.2709, allocations: 3.001 MB / 455.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2709, allocations: 0 / 455.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2709, allocations: 0 / 455.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.2711, allocations: 0 / 455.3 MB, free: 15.84 MB / 366.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.004734/0.2758, allocations: 2.118 MB / 457.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2758, allocations: 8.031 kB / 457.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.2764, allocations: 223.7 kB / 457.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.2785, allocations: 1.074 MB / 458.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.2786, allocations: 111.4 kB / 458.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.2788, allocations: 159.9 kB / 458.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.282, allocations: 1.959 MB / 460.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/0.2821, allocations: 11.95 kB / 460.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.2822, allocations: 64 kB / 461 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.907e-05/0.2823, allocations: 74.91 kB / 461 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.285, allocations: 1.585 MB / 462.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.2952, allocations: 6.175 MB / 468.8 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.2966, allocations: 0.7318 MB / 469.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2976, allocations: 0.5486 MB / 470.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.2978, allocations: 36.62 kB / 470.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.2979, allocations: 43.22 kB / 470.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/0.2979, allocations: 0 / 470.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01357/0.3115, allocations: 5.486 MB / 475.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3115, allocations: 64.41 kB / 475.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.3133, allocations: 1.152 MB / 476.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3134, allocations: 37.7 kB / 476.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006482/0.314, allocations: 0.7925 MB / 477.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.3143, allocations: 317.3 kB / 478 MB, free: 8.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.3147, allocations: 210.9 kB / 478.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3148, allocations: 349.9 kB / 478.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/0.3157, allocations: 0.5413 MB / 479.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3167, allocations: 0.8835 MB / 480 MB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.3188, allocations: 1.531 MB / 481.5 MB, free: 4.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.3188, allocations: 4 kB / 481.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003718/0.3225, allocations: 2.04 MB / 483.6 MB, free: 2.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3225, allocations: 8 kB / 483.6 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.3226, allocations: 15.94 kB / 483.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.3241, allocations: 0.5593 MB / 484.1 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.3249, allocations: 243.6 kB / 484.4 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/0.3342, allocations: 8.233 MB / 492.6 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.3353, allocations: 79.81 kB / 492.7 MB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.3354, allocations: 44 kB / 492.7 MB, free: 9.117 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.0009628/0.3364, allocations: 0.5209 MB / 493.3 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.3367, allocations: 127.2 kB / 493.4 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.34, allocations: 1.77 MB / 495.1 MB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.34, allocations: 8 kB / 495.2 MB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.34, allocations: 8 kB / 495.2 MB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.34, allocations: 3.984 kB / 495.2 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007106/0.3472, allocations: 3.698 MB / 498.9 MB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3472, allocations: 7.938 kB / 498.9 MB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.3477, allocations: 124.1 kB / 499 MB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.3493, allocations: 0.5925 MB / 499.6 MB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.3494, allocations: 24.09 kB / 499.6 MB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009079/0.3585, allocations: 7.406 MB / 0.4951 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3585, allocations: 0 / 0.4951 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.3627, allocations: 2.484 MB / 0.4976 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008064/0.3635, allocations: 243.1 kB / 0.4978 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.3637, allocations: 23.94 kB / 0.4978 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.3645, allocations: 51.94 kB / 0.4979 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.3647, allocations: 68.52 kB / 0.4979 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.3647, allocations: 31.98 kB / 0.498 GB, free: 7.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001337/0.3661, allocations: 0.7856 MB / 0.4987 GB, free: 6.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3661, allocations: 0 / 0.4987 GB, free: 6.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001428/0.3675, allocations: 379.9 kB / 0.4991 GB, free: 6.254 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.0003899/0.3679, allocations: 179 kB / 0.4993 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.3714, allocations: 1.929 MB / 0.5011 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.3714, allocations: 0.6875 kB / 0.5011 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.3736, allocations: 1.184 MB / 0.5023 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.3755, allocations: 375.5 kB / 0.5027 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.3818, allocations: 3.405 MB / 0.506 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.3831, allocations: 1.444 MB / 0.5074 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.3835, allocations: 87.42 kB / 0.5075 GB, free: 13.47 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3835, allocations: 0 / 0.5075 GB, free: 13.47 MB / 430.1 MB Notification: Performance of Templates: time 0.2509/0.6344, allocations: 59.5 MB / 0.5656 GB, free: 82.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.625684412196279] 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.643221131991595 0.652596378 0.379132417 Calling exit ...