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.001467/0.001467, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001529/0.001529, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.012 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 51.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2416, allocations: 53.38 MB / 431.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01129/0.2529, allocations: 8.281 MB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.2605, allocations: 2.765 MB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.2621, allocations: 51.62 kB / 442.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.2648, allocations: 0.6409 MB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2677, allocations: 0.668 MB / 443.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.269, allocations: 295.5 kB / 443.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004107/0.2732, allocations: 2.047 MB / 445.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.2753, allocations: 0.8315 MB / 446.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.2776, allocations: 0.9189 MB / 447.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.2804, allocations: 1.094 MB / 448.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007818/0.2812, allocations: 228 kB / 449 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.2824, allocations: 319.8 kB / 449.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.2837, allocations: 0.6504 MB / 449.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.2861, allocations: 1.035 MB / 451 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006084/0.2922, allocations: 3.01 MB / 454 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2922, allocations: 0 / 454 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2922, allocations: 0 / 454 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.2923, allocations: 0 / 454 MB, free: 15.91 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.007464/0.2998, allocations: 2.113 MB / 456.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.2998, allocations: 8.031 kB / 456.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005832/0.3004, allocations: 224.1 kB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.3014, allocations: 227.6 kB / 456.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.3045, allocations: 1.078 MB / 457.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.3046, allocations: 111.1 kB / 457.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.305, allocations: 159.9 kB / 457.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/0.3097, allocations: 1.955 MB / 459.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.996e-05/0.3098, allocations: 15.94 kB / 459.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.31, allocations: 56 kB / 459.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.3101, allocations: 74.92 kB / 460 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.3142, allocations: 1.589 MB / 461.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.3287, allocations: 6.168 MB / 467.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.3302, allocations: 0.7324 MB / 468.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.3312, allocations: 0.546 MB / 469 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.3314, allocations: 40.56 kB / 469 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3315, allocations: 43.22 kB / 469.1 MB, free: 424 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.374e-06/0.3315, allocations: 0 / 469.1 MB, free: 424 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01356/0.345, allocations: 5.477 MB / 474.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3451, allocations: 64.34 kB / 474.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.347, allocations: 1.149 MB / 475.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.3471, allocations: 37.7 kB / 475.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006935/0.3478, allocations: 0.8041 MB / 476.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3481, allocations: 313.3 kB / 476.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.3484, allocations: 210.9 kB / 477.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3486, allocations: 349.9 kB / 477.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000858/0.3495, allocations: 0.5413 MB / 478 MB, free: 7.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.3506, allocations: 0.8835 MB / 478.9 MB, free: 6.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.3528, allocations: 1.52 MB / 480.4 MB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.3528, allocations: 0 / 480.4 MB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003859/0.3567, allocations: 2.051 MB / 482.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.3567, allocations: 11.94 kB / 482.5 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.3567, allocations: 12 kB / 482.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.3582, allocations: 0.5556 MB / 483 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.359, allocations: 243.5 kB / 483.3 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009552/0.3686, allocations: 8.249 MB / 491.5 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009873/0.3696, allocations: 71.89 kB / 491.6 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.3697, allocations: 56.14 kB / 491.7 MB, free: 8.949 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.0009856/0.3707, allocations: 0.5169 MB / 492.2 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.371, allocations: 127.2 kB / 492.3 MB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.3744, allocations: 1.755 MB / 494.1 MB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.3744, allocations: 12 kB / 494.1 MB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.3744, allocations: 8.094 kB / 494.1 MB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3744, allocations: 7.969 kB / 494.1 MB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007021/0.3814, allocations: 3.694 MB / 497.8 MB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3814, allocations: 4.141 kB / 497.8 MB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.382, allocations: 135.7 kB / 497.9 MB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.3836, allocations: 0.5809 MB / 498.5 MB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.3837, allocations: 23.98 kB / 498.5 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009184/0.3929, allocations: 7.404 MB / 0.4941 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3929, allocations: 4 kB / 0.4941 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/0.3972, allocations: 2.477 MB / 0.4965 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008132/0.398, allocations: 239.1 kB / 0.4967 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.3983, allocations: 27.92 kB / 0.4967 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.399, allocations: 56.19 kB / 0.4968 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3992, allocations: 76.45 kB / 0.4969 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.3992, allocations: 24 kB / 0.4969 GB, free: 7.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.4006, allocations: 0.7895 MB / 0.4977 GB, free: 6.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4006, allocations: 0 / 0.4977 GB, free: 6.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001437/0.4021, allocations: 383.9 kB / 0.498 GB, free: 6.098 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.004679/0.4067, allocations: 3.101 MB / 0.5011 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.4106, allocations: 1.918 MB / 0.5029 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4107, allocations: 192 / 0.5029 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002689/0.4133, allocations: 1.203 MB / 0.5041 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.4158, allocations: 374.7 kB / 0.5045 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02593/0.4418, allocations: 13.69 MB / 0.5178 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.4435, allocations: 1.456 MB / 0.5193 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009161/0.4444, allocations: 267 kB / 0.5195 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009019/0.4453, allocations: 0.5695 MB / 0.5201 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4454, allocations: 0 / 0.5201 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3621/0.8074, allocations: 36.31 MB / 0.5555 GB, free: 91.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19/19.81, allocations: 10.47 kB / 0.5555 GB, free: 91.14 MB / 446.1 MB " [Timeout remaining time 640] (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: 22.307188811944798] 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.938797330018133 19.954881562 19.659160886 Calling exit ...