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.001362/0.001362, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001526/0.001526, allocations: 219.5 kB / 23 MB, free: 5.582 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.486/1.486, allocations: 230.5 MB / 256.5 MB, free: 8.188 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.002012/0.002012, allocations: 71.83 kB / 376.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2809, allocations: 53.31 MB / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0166/0.2975, allocations: 13.57 MB / 443.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009828/0.3073, allocations: 4.518 MB / 447.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.3102, allocations: 83.69 kB / 447.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.3136, allocations: 1.04 MB / 448.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.3189, allocations: 1.293 MB / 450 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.3218, allocations: 0.8999 MB / 450.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006601/0.3284, allocations: 3.921 MB / 454.9 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.3318, allocations: 1.792 MB / 456.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.3353, allocations: 1.858 MB / 458.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004457/0.3398, allocations: 2.219 MB / 460.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.341, allocations: 0.4961 MB / 461.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.3431, allocations: 0.7263 MB / 462 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.3445, allocations: 1.11 MB / 463.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00344/0.348, allocations: 2.077 MB / 465.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008675/0.3566, allocations: 6.654 MB / 471.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3567, allocations: 0 / 471.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3567, allocations: 0 / 471.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001776/0.3568, allocations: 0 / 471.8 MB, free: 12.94 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.0126/0.3694, allocations: 4.428 MB / 476.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3695, allocations: 8.031 kB / 476.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008386/0.3703, allocations: 455.2 kB / 476.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004414/0.3747, allocations: 0.8027 MB / 477.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/0.3798, allocations: 2.416 MB / 479.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.38, allocations: 234.2 kB / 480.1 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008693/0.3809, allocations: 315.9 kB / 480.4 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.3927, allocations: 4.231 MB / 484.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-05/0.3928, allocations: 0 / 484.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005085/0.3933, allocations: 128 kB / 484.8 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.3935, allocations: 158.2 kB / 484.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008353/0.4018, allocations: 3.612 MB / 488.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02598/0.4278, allocations: 13.14 MB / 0.4899 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008269/0.4361, allocations: 7.05 MB / 0.4968 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/0.4396, allocations: 1.52 MB / 0.4983 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008336/0.4479, allocations: 4.202 MB / 0.5024 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.448, allocations: 47.56 kB / 0.5024 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.316e-06/0.448, allocations: 0 / 0.5024 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01296/0.4609, allocations: 5.604 MB / 0.5079 GB, free: 10.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.461, allocations: 64.41 kB / 0.508 GB, free: 10.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/0.4639, allocations: 1.722 MB / 0.5097 GB, free: 8.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.4641, allocations: 45.7 kB / 0.5097 GB, free: 8.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.4654, allocations: 1.45 MB / 0.5111 GB, free: 7.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/0.4658, allocations: 460.1 kB / 0.5116 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/0.4663, allocations: 279.5 kB / 0.5118 GB, free: 6.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4664, allocations: 305.1 kB / 0.5121 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.4676, allocations: 0.6559 MB / 0.5128 GB, free: 5.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.4692, allocations: 1.125 MB / 0.5139 GB, free: 4.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.4721, allocations: 1.898 MB / 0.5157 GB, free: 2.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.4721, allocations: 4 kB / 0.5157 GB, free: 2.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004446/0.4765, allocations: 2.41 MB / 0.5181 GB, free: 15.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.4765, allocations: 12 kB / 0.5181 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.4766, allocations: 16 kB / 0.5181 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008736/0.4774, allocations: 315.4 kB / 0.5184 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4788, allocations: 347.5 kB / 0.5187 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.486, allocations: 6.642 MB / 0.5252 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.4875, allocations: 76.02 kB / 0.5253 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.4877, allocations: 71.98 kB / 0.5254 GB, free: 7.98 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.001879/0.4896, allocations: 0.9931 MB / 0.5263 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.49, allocations: 190.8 kB / 0.5265 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.4943, allocations: 2.198 MB / 0.5287 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.4943, allocations: 12 kB / 0.5287 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.4943, allocations: 12 kB / 0.5287 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4943, allocations: 7.969 kB / 0.5287 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008848/0.5032, allocations: 4.937 MB / 0.5335 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5032, allocations: 7.922 kB / 0.5335 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.504, allocations: 168 kB / 0.5337 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5054, allocations: 495.8 kB / 0.5341 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.5055, allocations: 43.92 kB / 0.5342 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.5182, allocations: 11.46 MB / 0.5454 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5182, allocations: 4.031 kB / 0.5454 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2463/0.7644, allocations: 3.102 MB / 0.5484 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.7658, allocations: 419.7 kB / 0.5488 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006949/0.7665, allocations: 31.89 kB / 0.5488 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.7676, allocations: 68.02 kB / 0.5489 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.7679, allocations: 95.48 kB / 0.549 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.768, allocations: 36.95 kB / 0.549 GB, free: 113.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0019/0.7699, allocations: 1.185 MB / 0.5502 GB, free: 113 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7699, allocations: 0 / 0.5502 GB, free: 113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002387/0.7723, allocations: 0.5416 MB / 0.5507 GB, free: 113 MB / 462.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.005027/0.7773, allocations: 3.705 MB / 0.5543 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.7806, allocations: 2.067 MB / 0.5564 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.7806, allocations: 0 / 0.5564 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.7826, allocations: 1.505 MB / 0.5578 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.785, allocations: 0.5149 MB / 0.5583 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/0.8117, allocations: 19.31 MB / 0.5772 GB, free: 95.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.8134, allocations: 2.284 MB / 0.5794 GB, free: 93.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001237/0.8146, allocations: 387.8 kB / 0.5798 GB, free: 93.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.8157, allocations: 1.112 MB / 0.5809 GB, free: 92.11 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8157, allocations: 0 / 0.5809 GB, free: 92.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09289/0.9086, allocations: 51.43 MB / 0.6311 GB, free: 41.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.99, allocations: 7.984 kB / 0.6311 GB, free: 41.14 MB / 462.1 MB " [Timeout remaining time 646] (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 --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: 16.51720779997413] 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.111074388027191 14.12799192 13.767246459 Calling exit ...