Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001366/0.001366, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.002309/0.002309, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.5 MB / 254.7 MB, free: 15.02 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-beta.om/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_4_1_0-beta_om_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-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.81 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1055, allocations: 53.31 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.2097/0.3152, allocations: 8.262 MB / 435.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.3197, allocations: 2.752 MB / 437.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.3205, allocations: 38.56 kB / 437.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.3223, allocations: 0.6416 MB / 438.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3242, allocations: 0.6715 MB / 439.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.3248, allocations: 287.8 kB / 439.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.3274, allocations: 2.031 MB / 441.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.3288, allocations: 1.029 MB / 442.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.3304, allocations: 0.9056 MB / 443.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.3323, allocations: 1.096 MB / 444.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.3329, allocations: 230.8 kB / 444.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.334, allocations: 318.4 kB / 445.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008838/0.3349, allocations: 0.6335 MB / 445.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.3366, allocations: 1.034 MB / 446.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.3407, allocations: 3.009 MB / 449.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3407, allocations: 4 kB / 449.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3407, allocations: 0 / 449.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.3408, allocations: 0.5156 kB / 449.8 MB, free: 0.6836 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.005711/0.3465, allocations: 2.181 MB / 452 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3466, allocations: 9.406 kB / 452 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004686/0.3471, allocations: 225.4 kB / 452.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.3479, allocations: 230.4 kB / 452.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.3505, allocations: 1.143 MB / 453.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3506, allocations: 116.4 kB / 453.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.351, allocations: 163 kB / 453.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.3549, allocations: 1.96 MB / 455.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.3549, allocations: 11.05 kB / 455.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.3551, allocations: 63.45 kB / 455.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/0.3552, allocations: 73.94 kB / 456 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.3583, allocations: 1.589 MB / 457.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.3706, allocations: 6.288 MB / 463.8 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.3722, allocations: 0.7993 MB / 464.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.3733, allocations: 0.5398 MB / 465.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.3736, allocations: 116.2 kB / 465.3 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3736, allocations: 47.34 kB / 465.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.625e-06/0.3736, allocations: 0 / 465.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01415/0.3878, allocations: 5.844 MB / 471.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3878, allocations: 60.53 kB / 471.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.3897, allocations: 1.148 MB / 472.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.3898, allocations: 41.73 kB / 472.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/0.3905, allocations: 0.8051 MB / 473.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.3908, allocations: 314.6 kB / 473.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.3911, allocations: 207 kB / 473.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.3913, allocations: 349.9 kB / 474.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008413/0.3922, allocations: 0.5452 MB / 474.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3933, allocations: 0.8853 MB / 475.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.3954, allocations: 1.52 MB / 477 MB, free: 13.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.3954, allocations: 4 kB / 477 MB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003704/0.3991, allocations: 2.044 MB / 479.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3991, allocations: 12 kB / 479.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.3991, allocations: 11.94 kB / 479.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.4006, allocations: 0.5576 MB / 479.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.4015, allocations: 239.6 kB / 479.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009729/0.4112, allocations: 8.648 MB / 488.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.4126, allocations: 83.75 kB / 488.6 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4127, allocations: 48 kB / 488.7 MB, free: 1.766 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.001075/0.4138, allocations: 0.5169 MB / 489.2 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.4141, allocations: 127.3 kB / 489.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.4174, allocations: 1.771 MB / 491.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.4174, allocations: 8 kB / 491.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4174, allocations: 4 kB / 491.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4174, allocations: 3.984 kB / 491.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007551/0.425, allocations: 3.73 MB / 494.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.425, allocations: 4 kB / 494.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.4255, allocations: 123.8 kB / 495 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.4272, allocations: 0.5987 MB / 495.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.4273, allocations: 23.98 kB / 495.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009537/0.4368, allocations: 7.71 MB / 0.4915 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4368, allocations: 4 kB / 0.4915 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.4414, allocations: 2.48 MB / 0.4939 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.4425, allocations: 320.2 kB / 0.4942 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.4428, allocations: 23.94 kB / 0.4943 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.4437, allocations: 59.94 kB / 0.4943 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.444, allocations: 60.56 kB / 0.4944 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.761e-05/0.444, allocations: 27.98 kB / 0.4944 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.4456, allocations: 0.7856 MB / 0.4952 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4456, allocations: 0 / 0.4952 GB, free: 14.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4475, allocations: 387.9 kB / 0.4955 GB, free: 14.41 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.005002/0.4525, allocations: 3.102 MB / 0.4986 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.4563, allocations: 2.083 MB / 0.5006 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.4563, allocations: 0 / 0.5006 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.4587, allocations: 1.264 MB / 0.5018 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.4611, allocations: 371.5 kB / 0.5022 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/0.4866, allocations: 13.66 MB / 0.5155 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.4883, allocations: 1.464 MB / 0.517 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009646/0.4892, allocations: 263.1 kB / 0.5172 GB, free: 7.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000951/0.4902, allocations: 0.5696 MB / 0.5178 GB, free: 6.867 MB / 430.1 MB Notification: Performance of SimCode: time 1.123e-06/0.4902, allocations: 0 / 0.5178 GB, free: 6.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09239/0.5826, allocations: 35.41 MB / 0.5523 GB, free: 3.871 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.24, allocations: 15.48 kB / 0.5524 GB, free: 3.859 MB / 462.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.801597353070974] 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'] 17.341487037949264 17.363364073 17.018389685 Calling exit ...