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.0008307/0.0008307, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008358/0.0008358, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9061/0.9061, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.777e-05, allocations: 7.203 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006739/0.006767, allocations: 7.303 MB / 331.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.01051, allocations: 2.578 MB / 334.4 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005871/0.0111, allocations: 55.69 kB / 334.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.01242, allocations: 0.5978 MB / 335.1 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.01347, allocations: 0.6946 MB / 335.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.0139, allocations: 283.5 kB / 336 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.01552, allocations: 2.127 MB / 338.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008396/0.01636, allocations: 0.8041 MB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.01761, allocations: 1.325 MB / 340.3 MB, free: 0 / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/0.01847, allocations: 0.9079 MB / 341.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.01868, allocations: 224 kB / 341.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.01905, allocations: 319.8 kB / 341.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.01958, allocations: 0.6583 MB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000488/0.02007, allocations: 0.7171 MB / 343.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.02194, allocations: 3.03 MB / 346.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.02194, allocations: 0 / 346.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.02194, allocations: 0 / 346.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.02197, allocations: 3.938 kB / 346.1 MB, free: 10.13 MB / 314.7 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.002436/0.02441, allocations: 2.087 MB / 348.2 MB, free: 8.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.02445, allocations: 11.98 kB / 348.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.02466, allocations: 236 kB / 348.5 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.02504, allocations: 223.7 kB / 348.7 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.02647, allocations: 1.073 MB / 349.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.02653, allocations: 119.4 kB / 349.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.02668, allocations: 156.2 kB / 350 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.02866, allocations: 2.063 MB / 352.1 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.02869, allocations: 11.89 kB / 352.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.02879, allocations: 60 kB / 352.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/0.02885, allocations: 74.92 kB / 352.2 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.03057, allocations: 1.585 MB / 353.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005827/0.03639, allocations: 5.684 MB / 359.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008968/0.03729, allocations: 0.721 MB / 360.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.0379, allocations: 0.5382 MB / 360.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.03804, allocations: 44.56 kB / 360.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.03807, allocations: 47.14 kB / 360.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 2.385e-06/0.03808, allocations: 0 / 360.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.007549/0.04562, allocations: 5.478 MB / 366.3 MB, free: 5.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.04567, allocations: 60.41 kB / 366.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.0467, allocations: 1.168 MB / 367.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.04675, allocations: 41.7 kB / 367.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.04711, allocations: 0.7925 MB / 368.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.04727, allocations: 317.3 kB / 368.7 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.04747, allocations: 202.9 kB / 368.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.04756, allocations: 353.9 kB / 369.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.04808, allocations: 0.5413 MB / 369.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.04874, allocations: 0.8837 MB / 370.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.05014, allocations: 1.524 MB / 372.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.05015, allocations: 4 kB / 372.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002135/0.05228, allocations: 2.04 MB / 374.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.0523, allocations: 12.47 kB / 374.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.05232, allocations: 12 kB / 374.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/0.05316, allocations: 0.5475 MB / 374.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.05362, allocations: 255.5 kB / 375.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/0.05909, allocations: 8.179 MB / 383.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.05958, allocations: 75.88 kB / 383.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.05964, allocations: 48.09 kB / 383.4 MB, free: 3.629 MB / 346.7 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.0005698/0.06021, allocations: 0.5286 MB / 383.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.06035, allocations: 127.2 kB / 384 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.06235, allocations: 1.759 MB / 385.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.06236, allocations: 8 kB / 385.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.06236, allocations: 7.938 kB / 385.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.06237, allocations: 4.078 kB / 385.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.06611, allocations: 3.522 MB / 389.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.06612, allocations: 7.984 kB / 389.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.0664, allocations: 123.9 kB / 389.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.06727, allocations: 0.5997 MB / 390 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.06731, allocations: 23.98 kB / 390.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.07249, allocations: 7.338 MB / 397.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.0725, allocations: 0 / 397.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.07499, allocations: 2.473 MB / 399.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.07535, allocations: 247.1 kB / 400.1 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.07544, allocations: 20 kB / 400.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.07577, allocations: 52.19 kB / 400.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.07588, allocations: 80.39 kB / 400.3 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.07592, allocations: 31.98 kB / 400.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006999/0.07662, allocations: 0.7895 MB / 401.1 MB, free: 1.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07662, allocations: 0 / 401.1 MB, free: 1.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000832/0.07745, allocations: 375.9 kB / 401.5 MB, free: 1 MB / 362.7 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.002653/0.0801, allocations: 3.097 MB / 404.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.08219, allocations: 1.925 MB / 406.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.0822, allocations: 0 / 406.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.08328, allocations: 1.181 MB / 407.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.08421, allocations: 374.6 kB / 408 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.09862, allocations: 13.62 MB / 421.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.09928, allocations: 0.8827 MB / 422.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004663/0.09974, allocations: 259.1 kB / 422.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/0.1002, allocations: 0.5706 MB / 423.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1002, allocations: 0 / 423.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.195/0.2952, allocations: 38.01 MB / 461.4 MB, free: 112.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.5, allocations: 4.062 kB / 461.4 MB, free: 112.4 MB / 410.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.287541561760008] 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'] 8.603486150503159 8.613070329 8.589756771 Calling exit ...