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.001381/0.001381, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001516/0.001516, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.482/1.482, allocations: 230.3 MB / 258 MB, free: 8.242 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.002006/0.002006, allocations: 67.88 kB / 378.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2456, allocations: 53.36 MB / 432.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.0112/0.2568, allocations: 8.287 MB / 440.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005675/0.2624, allocations: 2.758 MB / 443.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.2636, allocations: 51.62 kB / 443.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.2655, allocations: 0.6486 MB / 443.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.2676, allocations: 0.6718 MB / 444.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.2683, allocations: 295.5 kB / 444.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.271, allocations: 2.039 MB / 446.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.2723, allocations: 0.8393 MB / 447.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.2739, allocations: 0.9189 MB / 448.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.2755, allocations: 1.094 MB / 449.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.2759, allocations: 224 kB / 449.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007496/0.2767, allocations: 323.8 kB / 450.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007471/0.2774, allocations: 0.6465 MB / 450.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.2787, allocations: 1.035 MB / 451.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.2823, allocations: 3.005 MB / 454.9 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2823, allocations: 0 / 454.9 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2823, allocations: 0 / 454.9 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.594e-05/0.2824, allocations: 3.938 kB / 454.9 MB, free: 296 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.004563/0.2869, allocations: 2.107 MB / 457.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.287, allocations: 8.031 kB / 457.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006485/0.2876, allocations: 223.7 kB / 457.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.2899, allocations: 1.082 MB / 458.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.29, allocations: 111.4 kB / 458.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.2903, allocations: 159.9 kB / 458.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.2938, allocations: 1.963 MB / 460.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.2938, allocations: 7.953 kB / 460.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.294, allocations: 60 kB / 460.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.2941, allocations: 74.92 kB / 460.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.2969, allocations: 1.581 MB / 462.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.3078, allocations: 6.179 MB / 468.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.3094, allocations: 0.7242 MB / 469.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3105, allocations: 0.5486 MB / 469.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.3107, allocations: 48.55 kB / 469.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.3107, allocations: 39.69 kB / 469.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.436e-06/0.3107, allocations: 0 / 469.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01423/0.3249, allocations: 5.49 MB / 475.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.325, allocations: 60.41 kB / 475.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.3268, allocations: 1.145 MB / 476.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/0.3268, allocations: 41.64 kB / 476.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006711/0.3275, allocations: 0.8002 MB / 477.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.3278, allocations: 313.3 kB / 477.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.3282, allocations: 206.9 kB / 477.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3283, allocations: 353.9 kB / 478.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008662/0.3292, allocations: 0.5413 MB / 478.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.3304, allocations: 0.8835 MB / 479.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.3326, allocations: 1.524 MB / 481.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3326, allocations: 4 kB / 481.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003799/0.3364, allocations: 2.044 MB / 483.2 MB, free: 3.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3364, allocations: 14.44 kB / 483.2 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.3364, allocations: 15.94 kB / 483.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.338, allocations: 0.5516 MB / 483.8 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.3389, allocations: 243.6 kB / 484.1 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009693/0.3486, allocations: 8.245 MB / 492.3 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.3497, allocations: 79.81 kB / 492.4 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.3498, allocations: 48.16 kB / 492.4 MB, free: 9.559 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.001044/0.3508, allocations: 0.5169 MB / 492.9 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.3512, allocations: 127.2 kB / 493.1 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.3546, allocations: 1.763 MB / 494.8 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3546, allocations: 8 kB / 494.8 MB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3546, allocations: 8 kB / 494.8 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3546, allocations: 3.984 kB / 494.8 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006878/0.3615, allocations: 3.694 MB / 498.5 MB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3615, allocations: 7.969 kB / 498.5 MB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.362, allocations: 127.8 kB / 498.7 MB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.3637, allocations: 0.5887 MB / 499.3 MB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.862e-05/0.3638, allocations: 27.98 kB / 499.3 MB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009368/0.3732, allocations: 7.396 MB / 0.4948 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3732, allocations: 3.938 kB / 0.4948 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/0.3775, allocations: 2.477 MB / 0.4972 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.3783, allocations: 243.1 kB / 0.4975 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.3785, allocations: 27.94 kB / 0.4975 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.3792, allocations: 52.19 kB / 0.4975 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.3794, allocations: 72.52 kB / 0.4976 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.3795, allocations: 31.98 kB / 0.4976 GB, free: 7.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.3808, allocations: 0.7894 MB / 0.4984 GB, free: 7.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3808, allocations: 0 / 0.4984 GB, free: 7.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001423/0.3823, allocations: 379.9 kB / 0.4988 GB, free: 6.711 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.0003762/0.3826, allocations: 181.5 kB / 0.4989 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.3862, allocations: 1.926 MB / 0.5008 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3862, allocations: 4.188 kB / 0.5008 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/0.3885, allocations: 1.2 MB / 0.502 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.3903, allocations: 367.1 kB / 0.5024 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.3958, allocations: 3.347 MB / 0.5056 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.3971, allocations: 1.456 MB / 0.507 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007629/0.3978, allocations: 267 kB / 0.5073 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.3981, allocations: 83.44 kB / 0.5074 GB, free: 13.72 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3981, allocations: 4 kB / 0.5074 GB, free: 13.72 MB / 430.1 MB Notification: Performance of Templates: time 0.04114/0.4392, allocations: 22.97 MB / 0.5298 GB, free: 6.938 MB / 446.1 MB " [Timeout remaining time 660] 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: 5.491088338196278] 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.44839186780154705 0.623630637 0.338662142 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2af71197b0>