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.001285/0.001285, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001382/0.001382, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.441/1.441, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.001928/0.001928, allocations: 59.89 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 53.33 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2027/0.3085, allocations: 8.246 MB / 436.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.3131, allocations: 2.745 MB / 438.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.3142, allocations: 43.91 kB / 438.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.316, allocations: 0.6433 MB / 439.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.3182, allocations: 0.6663 MB / 440.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008742/0.3191, allocations: 296.9 kB / 440.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.3221, allocations: 2.032 MB / 442.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.3236, allocations: 1.03 MB / 443.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.3253, allocations: 0.8974 MB / 444.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.3273, allocations: 1.1 MB / 445.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006467/0.328, allocations: 227.3 kB / 445.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.3293, allocations: 318.5 kB / 446.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008012/0.3301, allocations: 0.6375 MB / 446.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.3316, allocations: 1.037 MB / 447.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.3356, allocations: 3.003 MB / 450.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3356, allocations: 1.156 kB / 450.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3356, allocations: 0 / 450.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.3357, allocations: 0 / 450.8 MB, free: 0.7852 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.005239/0.341, allocations: 2.185 MB / 452.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.341, allocations: 10.12 kB / 453 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.3418, allocations: 226.3 kB / 453.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.3441, allocations: 1.151 MB / 454.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3442, allocations: 108.2 kB / 454.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.3445, allocations: 159.5 kB / 454.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/0.3486, allocations: 1.956 MB / 456.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/0.3487, allocations: 15.77 kB / 456.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.3488, allocations: 60.55 kB / 456.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.349, allocations: 79.06 kB / 456.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.352, allocations: 1.585 MB / 458.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.3631, allocations: 6.288 MB / 464.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.3646, allocations: 0.8016 MB / 465.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.3656, allocations: 0.5507 MB / 465.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.3659, allocations: 117.7 kB / 466 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.3659, allocations: 41.89 kB / 466.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.685e-06/0.3659, allocations: 0 / 466.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01457/0.3805, allocations: 5.84 MB / 471.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.3806, allocations: 68.59 kB / 472 MB, free: 3.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.3826, allocations: 1.152 MB / 473.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.3827, allocations: 41.58 kB / 473.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/0.3834, allocations: 0.7954 MB / 474 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3838, allocations: 325.2 kB / 474.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/0.3842, allocations: 206.9 kB / 474.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3843, allocations: 349.9 kB / 474.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000868/0.3852, allocations: 0.5413 MB / 475.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3864, allocations: 0.8796 MB / 476.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.3885, allocations: 1.527 MB / 477.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.3886, allocations: 4 kB / 477.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003876/0.3924, allocations: 2.044 MB / 479.8 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3925, allocations: 8 kB / 479.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.3925, allocations: 12 kB / 479.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.3941, allocations: 0.553 MB / 480.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/0.395, allocations: 239.6 kB / 480.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.405, allocations: 8.653 MB / 489.3 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4063, allocations: 79.81 kB / 489.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4064, allocations: 44 kB / 489.4 MB, free: 1.848 MB / 382.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.001083/0.4075, allocations: 0.522 MB / 489.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.4078, allocations: 127.2 kB / 490.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.4111, allocations: 1.763 MB / 491.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4111, allocations: 8 kB / 491.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4111, allocations: 4 kB / 491.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4111, allocations: 3.984 kB / 491.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007228/0.4184, allocations: 3.726 MB / 495.6 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.4184, allocations: 4.109 kB / 495.6 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.419, allocations: 132 kB / 495.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.4208, allocations: 0.5925 MB / 496.3 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.145e-05/0.4209, allocations: 27.98 kB / 496.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/0.4301, allocations: 7.719 MB / 0.4922 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.4301, allocations: 4 kB / 0.4922 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.4344, allocations: 2.479 MB / 0.4946 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008639/0.4353, allocations: 316.5 kB / 0.4949 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.4355, allocations: 27.73 kB / 0.495 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.4362, allocations: 55.94 kB / 0.495 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.4363, allocations: 64.5 kB / 0.4951 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.4364, allocations: 31.98 kB / 0.4951 GB, free: 15.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.4377, allocations: 0.7856 MB / 0.4959 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4377, allocations: 0 / 0.4959 GB, free: 14.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001538/0.4392, allocations: 376 kB / 0.4962 GB, free: 14.49 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.0003957/0.4396, allocations: 182.3 kB / 0.4964 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003592/0.4432, allocations: 2.076 MB / 0.4984 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4432, allocations: 0.75 kB / 0.4984 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.4454, allocations: 1.269 MB / 0.4997 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.4476, allocations: 383.7 kB / 0.5 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.4536, allocations: 3.384 MB / 0.5034 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.4548, allocations: 1.452 MB / 0.5048 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.4552, allocations: 91.42 kB / 0.5049 GB, free: 5.441 MB / 414.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4552, allocations: 0 / 0.5049 GB, free: 5.441 MB / 414.1 MB Notification: Performance of Templates: time 0.07202/0.5272, allocations: 59.5 MB / 0.563 GB, free: 9.957 MB / 478.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.247290066909045] 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.5365843188483268 0.549827938 0.21108274800000001 Calling exit ...