Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001673/0.001673, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002007/0.002007, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.496/1.496, allocations: 230.6 MB / 258.3 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-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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.002018/0.002018, allocations: 64.77 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01641/0.2994, allocations: 13.57 MB / 445.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009598/0.309, allocations: 4.532 MB / 450 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.3116, allocations: 99.38 kB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.3148, allocations: 1.041 MB / 451.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.3203, allocations: 1.297 MB / 452.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.3231, allocations: 0.9057 MB / 453.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006392/0.3295, allocations: 3.95 MB / 457.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.333, allocations: 1.789 MB / 459.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.3369, allocations: 1.889 MB / 461 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.3416, allocations: 2.223 MB / 463.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.3431, allocations: 0.5 MB / 463.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.3455, allocations: 0.7263 MB / 464.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.3469, allocations: 1.118 MB / 465.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003983/0.3509, allocations: 2.077 MB / 467.6 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00999/0.3609, allocations: 6.651 MB / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3609, allocations: 0 / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3609, allocations: 0 / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002071/0.3611, allocations: 0 / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01345/0.3746, allocations: 4.349 MB / 478.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3746, allocations: 12.03 kB / 478.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008514/0.3755, allocations: 451.2 kB / 479.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.3798, allocations: 0.8027 MB / 479.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.3851, allocations: 2.36 MB / 482.3 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.3854, allocations: 234.2 kB / 482.5 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008395/0.3862, allocations: 311.9 kB / 482.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009067/0.3953, allocations: 4.234 MB / 487 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.493e-05/0.3954, allocations: 0 / 487 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/0.3957, allocations: 128 kB / 487.2 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.3959, allocations: 150.3 kB / 487.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007506/0.4034, allocations: 3.62 MB / 490.9 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.4274, allocations: 12.81 MB / 0.4919 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005332/0.4328, allocations: 2.668 MB / 0.4945 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.4358, allocations: 1.507 MB / 0.496 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007521/0.4433, allocations: 3.702 MB / 0.4996 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.4434, allocations: 55.56 kB / 0.4997 GB, free: 6.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.407e-06/0.4434, allocations: 0 / 0.4997 GB, free: 6.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.0118/0.4552, allocations: 4.986 MB / 0.5045 GB, free: 1.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4553, allocations: 64.41 kB / 0.5046 GB, free: 1.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.4581, allocations: 1.722 MB / 0.5063 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.4583, allocations: 53.69 kB / 0.5063 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.4595, allocations: 1.454 MB / 0.5078 GB, free: 14.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.4599, allocations: 452.1 kB / 0.5082 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.4604, allocations: 287.5 kB / 0.5085 GB, free: 13.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4605, allocations: 301.1 kB / 0.5087 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4618, allocations: 0.6597 MB / 0.5094 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4634, allocations: 1.125 MB / 0.5105 GB, free: 11.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.4663, allocations: 1.894 MB / 0.5123 GB, free: 9.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.4663, allocations: 4 kB / 0.5123 GB, free: 9.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004445/0.4707, allocations: 2.335 MB / 0.5146 GB, free: 6.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4708, allocations: 12 kB / 0.5146 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.4708, allocations: 12 kB / 0.5146 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008709/0.4717, allocations: 323.4 kB / 0.515 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.4731, allocations: 347.4 kB / 0.5153 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/0.4801, allocations: 6.331 MB / 0.5215 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.4816, allocations: 79.98 kB / 0.5215 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.4818, allocations: 67.98 kB / 0.5216 GB, free: 15.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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 {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.4837, allocations: 1.001 MB / 0.5226 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.4841, allocations: 190.8 kB / 0.5228 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.4881, allocations: 2.039 MB / 0.5248 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.4881, allocations: 12 kB / 0.5248 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.4882, allocations: 8 kB / 0.5248 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.4882, allocations: 11.97 kB / 0.5248 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008458/0.4966, allocations: 4.754 MB / 0.5294 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4966, allocations: 7.938 kB / 0.5294 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/0.4974, allocations: 171.9 kB / 0.5296 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.4988, allocations: 495.8 kB / 0.5301 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.4989, allocations: 35.98 kB / 0.5301 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2341/0.733, allocations: 10.94 MB / 0.5408 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.733, allocations: 2.375 kB / 0.5408 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/0.7382, allocations: 2.948 MB / 0.5437 GB, free: 93.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.7392, allocations: 352.8 kB / 0.544 GB, free: 93.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.7395, allocations: 37.58 kB / 0.544 GB, free: 93.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.7403, allocations: 66.41 kB / 0.5441 GB, free: 93.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.7406, allocations: 99.27 kB / 0.5442 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/0.7407, allocations: 39.23 kB / 0.5442 GB, free: 93.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001824/0.7425, allocations: 1.189 MB / 0.5454 GB, free: 93.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7425, allocations: 0 / 0.5454 GB, free: 93.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002288/0.7448, allocations: 0.5481 MB / 0.5459 GB, free: 92.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004601/0.7494, allocations: 3.552 MB / 0.5494 GB, free: 91.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.7524, allocations: 1.988 MB / 0.5514 GB, free: 90.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7524, allocations: 1.656 kB / 0.5514 GB, free: 90.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.7543, allocations: 1.504 MB / 0.5528 GB, free: 89.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.7565, allocations: 0.5178 MB / 0.5533 GB, free: 89.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/0.7837, allocations: 19.15 MB / 0.572 GB, free: 73.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.7854, allocations: 2.293 MB / 0.5743 GB, free: 70.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001204/0.7866, allocations: 375.9 kB / 0.5746 GB, free: 70.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.7877, allocations: 1.116 MB / 0.5757 GB, free: 69.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.783e-06/0.7877, allocations: 0 / 0.5757 GB, free: 69.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.8891, allocations: 52.51 MB / 0.627 GB, free: 17.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.86, allocations: 0 / 0.627 GB, free: 17.29 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.446513193193823] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'loadInertia.phi', 'loadInertia.w', 'vfController.x'] 14.978069887962192 15.000052926 14.634614952 Calling exit ...