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.001326/0.001326, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001602/0.001602, allocations: 206 kB / 23.72 MB, free: 4.391 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.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.742 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: "" <> 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 0.001978/0.001978, allocations: 67.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2355, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01007/0.2455, allocations: 7.282 MB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.2509, allocations: 2.583 MB / 441 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.2517, allocations: 51.69 kB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2534, allocations: 0.5863 MB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.255, allocations: 0.6757 MB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.2556, allocations: 283.6 kB / 442.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.2579, allocations: 2.038 MB / 444.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.259, allocations: 0.8119 MB / 445.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.2602, allocations: 0.9189 MB / 446.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.2616, allocations: 1.015 MB / 447.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.2619, allocations: 224 kB / 447.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.2625, allocations: 311.8 kB / 447.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.2632, allocations: 0.6505 MB / 448.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009217/0.2641, allocations: 0.8285 MB / 449.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.2672, allocations: 3.032 MB / 452.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2672, allocations: 0 / 452.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2672, allocations: 3.938 kB / 452.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.137e-05/0.2673, allocations: 0 / 452.4 MB, free: 1.035 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.004083/0.2713, allocations: 2.107 MB / 454.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2714, allocations: 11.98 kB / 454.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000291/0.2717, allocations: 228.1 kB / 454.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.2722, allocations: 227.6 kB / 455 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.2744, allocations: 1.074 MB / 456.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2745, allocations: 127.1 kB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.2747, allocations: 148 kB / 456.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.2781, allocations: 2.059 MB / 458.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.2782, allocations: 11.89 kB / 458.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.2783, allocations: 63.98 kB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.2784, allocations: 78.91 kB / 458.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.2811, allocations: 1.577 MB / 460.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00997/0.2911, allocations: 5.688 MB / 465.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2925, allocations: 0.7321 MB / 466.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009978/0.2935, allocations: 0.5448 MB / 467.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.2937, allocations: 40.62 kB / 467.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2937, allocations: 39.22 kB / 467.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.066e-06/0.2937, allocations: 0 / 467.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01355/0.3073, allocations: 5.486 MB / 472.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3073, allocations: 60.41 kB / 472.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.309, allocations: 1.172 MB / 473.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/0.3091, allocations: 45.69 kB / 473.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/0.3097, allocations: 0.7847 MB / 474.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.31, allocations: 321.3 kB / 475 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.3103, allocations: 210.9 kB / 475.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3105, allocations: 353.9 kB / 475.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/0.3113, allocations: 0.5413 MB / 476.1 MB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.3124, allocations: 0.8795 MB / 477 MB, free: 7.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.3145, allocations: 1.527 MB / 478.5 MB, free: 6.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.3145, allocations: 4 kB / 478.5 MB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003685/0.3182, allocations: 2.036 MB / 480.6 MB, free: 4.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.3182, allocations: 15.94 kB / 480.6 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.3182, allocations: 12 kB / 480.6 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.3197, allocations: 0.5554 MB / 481.2 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.3206, allocations: 243.6 kB / 481.4 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00917/0.3297, allocations: 8.195 MB / 489.6 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.3307, allocations: 71.92 kB / 489.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.3308, allocations: 44 kB / 489.7 MB, free: 10.48 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.0008462/0.3317, allocations: 0.5247 MB / 490.2 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.3319, allocations: 135.2 kB / 490.4 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.335, allocations: 1.755 MB / 492.1 MB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3351, allocations: 12 kB / 492.1 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3351, allocations: 4 kB / 492.1 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3351, allocations: 3.984 kB / 492.1 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/0.3414, allocations: 3.511 MB / 495.6 MB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3414, allocations: 4 kB / 495.6 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.3419, allocations: 123.8 kB / 495.8 MB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.3435, allocations: 0.5889 MB / 496.4 MB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.3436, allocations: 23.98 kB / 496.4 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008645/0.3522, allocations: 7.348 MB / 0.4919 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3522, allocations: 0 / 0.4919 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004049/0.3563, allocations: 2.484 MB / 0.4943 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/0.3571, allocations: 239.2 kB / 0.4946 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.3573, allocations: 27.94 kB / 0.4946 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.3579, allocations: 55.94 kB / 0.4947 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.3581, allocations: 72.52 kB / 0.4947 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.3582, allocations: 23.98 kB / 0.4947 GB, free: 9.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001321/0.3595, allocations: 0.7895 MB / 0.4955 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3595, allocations: 0 / 0.4955 GB, free: 8.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001411/0.3609, allocations: 375.9 kB / 0.4959 GB, free: 7.871 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.00476/0.3657, allocations: 3.108 MB / 0.4989 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003533/0.3692, allocations: 1.92 MB / 0.5008 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3692, allocations: 1.938 kB / 0.5008 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.3714, allocations: 1.2 MB / 0.502 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.3733, allocations: 382.6 kB / 0.5023 GB, free: 1.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.3958, allocations: 13.68 MB / 0.5157 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.3969, allocations: 0.8747 MB / 0.5165 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008077/0.3977, allocations: 259.1 kB / 0.5168 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008158/0.3985, allocations: 0.5696 MB / 0.5173 GB, free: 1.152 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3985, allocations: 0 / 0.5173 GB, free: 1.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2815/0.6799, allocations: 37.98 MB / 0.5544 GB, free: 92.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.46, allocations: 11.75 kB / 0.5544 GB, free: 92.65 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 16.066216826904565] 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'] 13.602679728996009 13.61342626 13.343745723 Calling exit ...