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_Inverter.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.001787/0.001787, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.00197/0.00197, allocations: 215.3 kB / 23.48 MB, free: 5.23 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.444/1.444, allocations: 230.4 MB / 257 MB, free: 8.254 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_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",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.002061/0.002061, allocations: 59.91 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2755, allocations: 53.33 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01193/0.2874, allocations: 8.958 MB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.2935, allocations: 2.902 MB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.2948, allocations: 47.81 kB / 442.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.2969, allocations: 0.6367 MB / 442.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.2995, allocations: 0.7379 MB / 443.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3006, allocations: 335.4 kB / 444 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.3039, allocations: 2.237 MB / 446.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.3059, allocations: 1.02 MB / 447.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3076, allocations: 1.036 MB / 448.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.31, allocations: 1.32 MB / 449.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007423/0.3107, allocations: 268 kB / 449.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3119, allocations: 367.8 kB / 450.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.313, allocations: 0.7673 MB / 451 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.3152, allocations: 1.217 MB / 452.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.3202, allocations: 3.543 MB / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3202, allocations: 0 / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3202, allocations: 0 / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.3203, allocations: 0 / 455.8 MB, free: 13.73 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006666/0.327, allocations: 2.557 MB / 458.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.327, allocations: 8.031 kB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007052/0.3277, allocations: 266 kB / 458.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009831/0.3287, allocations: 267.4 kB / 458.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.3317, allocations: 1.318 MB / 460.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3319, allocations: 135.7 kB / 460.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.3324, allocations: 179.9 kB / 460.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/0.3374, allocations: 2.374 MB / 462.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.116e-05/0.3375, allocations: 7.938 kB / 462.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.3377, allocations: 72 kB / 462.9 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3378, allocations: 91.5 kB / 463 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.3419, allocations: 1.966 MB / 465 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.3555, allocations: 7.084 MB / 472.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.3576, allocations: 1.225 MB / 473.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3592, allocations: 0.8034 MB / 474.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.3595, allocations: 118.1 kB / 474.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.3595, allocations: 43.56 kB / 474.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 6.202e-06/0.3595, allocations: 3.984 kB / 474.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01437/0.3739, allocations: 6.12 MB / 480.4 MB, free: 4.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.374, allocations: 60.41 kB / 480.4 MB, free: 4.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.3761, allocations: 1.223 MB / 481.7 MB, free: 3.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.3763, allocations: 41.7 kB / 481.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/0.3771, allocations: 0.887 MB / 482.6 MB, free: 2.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/0.3775, allocations: 392.7 kB / 483 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/0.378, allocations: 218.9 kB / 483.2 MB, free: 1.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3782, allocations: 357.9 kB / 483.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.3793, allocations: 0.6194 MB / 484.2 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.3806, allocations: 0.9149 MB / 485.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.3832, allocations: 1.643 MB / 486.7 MB, free: 13.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.3832, allocations: 4 kB / 486.7 MB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004175/0.3874, allocations: 2.22 MB / 488.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.3875, allocations: 12 kB / 489 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.3875, allocations: 8 kB / 489 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3887, allocations: 478.4 kB / 489.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.3897, allocations: 279.5 kB / 489.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/0.3976, allocations: 7.026 MB / 496.7 MB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.3988, allocations: 79.98 kB / 496.8 MB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.3989, allocations: 55.98 kB / 496.9 MB, free: 3.262 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.4001, allocations: 0.591 MB / 497.5 MB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.4005, allocations: 143 kB / 497.6 MB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.4044, allocations: 2.02 MB / 499.6 MB, free: 468 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.4044, allocations: 12 kB / 499.6 MB, free: 456 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.4044, allocations: 4 kB / 499.6 MB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4044, allocations: 3.984 kB / 499.6 MB, free: 448 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008315/0.4127, allocations: 4.208 MB / 0.492 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.4127, allocations: 4 kB / 0.492 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.4135, allocations: 183.7 kB / 0.4922 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.4149, allocations: 0.5156 MB / 0.4927 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.415, allocations: 35.98 kB / 0.4927 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.4243, allocations: 8.635 MB / 0.5012 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.4243, allocations: 7.938 kB / 0.5012 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.4295, allocations: 2.934 MB / 0.5041 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009444/0.4305, allocations: 356 kB / 0.5044 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/0.4308, allocations: 31.94 kB / 0.5044 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009585/0.4318, allocations: 67.92 kB / 0.5045 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.4321, allocations: 96.75 kB / 0.5046 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.265e-05/0.4322, allocations: 35.98 kB / 0.5046 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001645/0.4338, allocations: 0.8345 MB / 0.5054 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4338, allocations: 4 kB / 0.5054 GB, free: 13.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001838/0.4356, allocations: 407.9 kB / 0.5058 GB, free: 13.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005823/0.4415, allocations: 3.566 MB / 0.5093 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004054/0.4455, allocations: 2.106 MB / 0.5114 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4455, allocations: 0 / 0.5114 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.448, allocations: 1.433 MB / 0.5128 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4502, allocations: 395.1 kB / 0.5131 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/0.4782, allocations: 15.16 MB / 0.5279 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/0.4801, allocations: 1.638 MB / 0.5295 GB, free: 4.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.4811, allocations: 299.7 kB / 0.5298 GB, free: 3.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.4823, allocations: 0.6906 MB / 0.5305 GB, free: 3.121 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4823, allocations: 0 / 0.5305 GB, free: 3.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3046/0.7869, allocations: 37.81 MB / 0.5674 GB, free: 111.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.11, allocations: 6.5 kB / 0.5674 GB, free: 111.5 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.550668766023591] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 13.213904527015984 13.228213142 12.904907322 Calling exit ...