Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 47.94 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.277, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01018/0.2872, allocations: 8.282 MB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005802/0.293, allocations: 2.773 MB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2944, allocations: 55.69 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.2966, allocations: 0.637 MB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.2991, allocations: 0.6718 MB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3001, allocations: 295.5 kB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.3034, allocations: 2.042 MB / 446.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.305, allocations: 0.8315 MB / 447.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.3067, allocations: 0.9189 MB / 448.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.3087, allocations: 1.101 MB / 449.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006506/0.3094, allocations: 228 kB / 449.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3105, allocations: 319.8 kB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3115, allocations: 0.6505 MB / 450.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.3136, allocations: 1.023 MB / 451.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.3183, allocations: 3.014 MB / 454.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3183, allocations: 0 / 454.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3183, allocations: 0 / 454.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.3184, allocations: 0 / 454.8 MB, free: 15.9 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.005665/0.3241, allocations: 2.107 MB / 456.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3241, allocations: 8.031 kB / 456.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.084e-05/0.3242, allocations: 39.19 kB / 456.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003057/0.3245, allocations: 228 kB / 457.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007025/0.3252, allocations: 227.7 kB / 457.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.3273, allocations: 1.074 MB / 458.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.3274, allocations: 118.9 kB / 458.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.3277, allocations: 159.9 kB / 458.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.3309, allocations: 1.955 MB / 460.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/0.331, allocations: 11.89 kB / 460.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.3311, allocations: 63.98 kB / 460.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3312, allocations: 78.91 kB / 460.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.3339, allocations: 1.585 MB / 462.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.3439, allocations: 6.168 MB / 468.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.3453, allocations: 0.7346 MB / 469.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/0.3462, allocations: 0.5498 MB / 469.8 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.3464, allocations: 36.62 kB / 469.9 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3465, allocations: 43.22 kB / 469.9 MB, free: 368 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.865e-06/0.3465, allocations: 0 / 469.9 MB, free: 368 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01421/0.3607, allocations: 5.485 MB / 475.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.3607, allocations: 60.41 kB / 475.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.3628, allocations: 1.149 MB / 476.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.514e-05/0.3629, allocations: 41.7 kB / 476.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007424/0.3637, allocations: 0.7925 MB / 477.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.364, allocations: 317.3 kB / 477.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.3644, allocations: 210.9 kB / 478 MB, free: 8.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.3646, allocations: 353.9 kB / 478.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008749/0.3655, allocations: 0.5413 MB / 478.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3666, allocations: 0.8834 MB / 479.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.3688, allocations: 1.524 MB / 481.3 MB, free: 4.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.3688, allocations: 4 kB / 481.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00375/0.3726, allocations: 2.04 MB / 483.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3726, allocations: 11.94 kB / 483.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.3726, allocations: 12 kB / 483.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.3741, allocations: 0.5516 MB / 483.9 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.375, allocations: 247.6 kB / 484.1 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/0.3841, allocations: 8.245 MB / 492.4 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3853, allocations: 76.03 kB / 492.4 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.3855, allocations: 47.94 kB / 492.5 MB, free: 8.906 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.3865, allocations: 0.5208 MB / 493 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.3869, allocations: 131.2 kB / 493.1 MB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/0.3903, allocations: 1.763 MB / 494.9 MB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3903, allocations: 8 kB / 494.9 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.3903, allocations: 4 kB / 494.9 MB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3904, allocations: 7.984 kB / 494.9 MB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/0.3979, allocations: 3.698 MB / 498.6 MB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3979, allocations: 0 / 498.6 MB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.3984, allocations: 127.9 kB / 498.7 MB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.4001, allocations: 0.5966 MB / 499.3 MB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.4002, allocations: 23.98 kB / 499.4 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009112/0.4093, allocations: 7.395 MB / 0.4949 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.4093, allocations: 3.938 kB / 0.4949 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/0.4137, allocations: 2.484 MB / 0.4973 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/0.4145, allocations: 243 kB / 0.4975 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/0.415, allocations: 28 kB / 0.4976 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/0.4159, allocations: 51.94 kB / 0.4976 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.4161, allocations: 72.52 kB / 0.4977 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/0.4162, allocations: 23.98 kB / 0.4977 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.4177, allocations: 0.7895 MB / 0.4985 GB, free: 6.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4177, allocations: 0 / 0.4985 GB, free: 6.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001665/0.4194, allocations: 375.9 kB / 0.4988 GB, free: 6.051 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.004676/0.4241, allocations: 3.097 MB / 0.5019 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003539/0.4276, allocations: 1.922 MB / 0.5037 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.4276, allocations: 0 / 0.5037 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.4298, allocations: 1.204 MB / 0.5049 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.432, allocations: 383.7 kB / 0.5053 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/0.4566, allocations: 13.69 MB / 0.5186 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.4582, allocations: 1.456 MB / 0.5201 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009535/0.4592, allocations: 259.1 kB / 0.5203 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/0.4601, allocations: 0.5773 MB / 0.5209 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4601, allocations: 0 / 0.5209 GB, free: 14.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3093/0.7694, allocations: 36.34 MB / 0.5564 GB, free: 91.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.4/19.16, allocations: 9.688 kB / 0.5564 GB, free: 91.07 MB / 446.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.653775714046787] 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'] 19.35150289098965 19.370284535 19.048072885 Calling exit ...