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.001754/0.001754, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002185/0.002185, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.528/1.528, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.002227/0.002227, allocations: 71.81 kB / 373.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 53.33 MB / 427 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2245/0.3377, allocations: 13.51 MB / 440.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008272/0.346, allocations: 4.523 MB / 445.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.3487, allocations: 100.8 kB / 445.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.3521, allocations: 1.036 MB / 446.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00541/0.3575, allocations: 1.291 MB / 447.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.3606, allocations: 0.8891 MB / 448.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00713/0.3677, allocations: 3.928 MB / 452.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/0.3717, allocations: 2.251 MB / 454.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/0.3758, allocations: 1.884 MB / 456.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.381, allocations: 2.224 MB / 458.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001663/0.3827, allocations: 0.4978 MB / 459.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.3854, allocations: 0.7185 MB / 459.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.3874, allocations: 1.117 MB / 461 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005035/0.3924, allocations: 2.084 MB / 463.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4029, allocations: 6.649 MB / 469.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.403, allocations: 3.984 kB / 469.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.403, allocations: 1.344 kB / 469.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002152/0.4032, allocations: 4 kB / 469.7 MB, free: 3.184 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01844/0.4216, allocations: 4.413 MB / 474.1 MB, free: 180 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4217, allocations: 8.688 kB / 474.2 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001668/0.4233, allocations: 454.6 kB / 474.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005321/0.4287, allocations: 0.7994 MB / 475.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006551/0.4352, allocations: 2.42 MB / 477.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.4355, allocations: 240.7 kB / 478 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.4369, allocations: 311.6 kB / 478.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.4492, allocations: 4.231 MB / 482.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-05/0.4493, allocations: 0 / 482.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.4497, allocations: 132 kB / 482.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.4499, allocations: 154.3 kB / 482.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008531/0.4584, allocations: 3.612 MB / 486.5 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.4856, allocations: 13.15 MB / 499.6 MB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008113/0.4937, allocations: 7.034 MB / 0.4948 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/0.4971, allocations: 1.519 MB / 0.4963 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008013/0.5051, allocations: 4.211 MB / 0.5004 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.5052, allocations: 43.56 kB / 0.5004 GB, free: 9.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.965e-06/0.5052, allocations: 0 / 0.5004 GB, free: 9.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01329/0.5185, allocations: 5.596 MB / 0.5059 GB, free: 4.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.5186, allocations: 68.39 kB / 0.506 GB, free: 4.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.5217, allocations: 1.719 MB / 0.5076 GB, free: 2.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002583/0.5219, allocations: 53.64 kB / 0.5077 GB, free: 2.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.5232, allocations: 1.45 MB / 0.5091 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.5237, allocations: 452.1 kB / 0.5095 GB, free: 420 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005059/0.5242, allocations: 283.5 kB / 0.5098 GB, free: 132 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5244, allocations: 301.1 kB / 0.5101 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.5257, allocations: 0.6606 MB / 0.5107 GB, free: 15.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.5273, allocations: 1.121 MB / 0.5118 GB, free: 13.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.5303, allocations: 1.906 MB / 0.5137 GB, free: 11.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.5303, allocations: 11.94 kB / 0.5137 GB, free: 11.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004822/0.5351, allocations: 2.406 MB / 0.516 GB, free: 9.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.5352, allocations: 12 kB / 0.5161 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.5352, allocations: 16 kB / 0.5161 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008972/0.5361, allocations: 307.5 kB / 0.5164 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5375, allocations: 363.4 kB / 0.5167 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/0.5449, allocations: 6.623 MB / 0.5232 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.5468, allocations: 75.84 kB / 0.5233 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.547, allocations: 71.98 kB / 0.5233 GB, free: 1.406 MB / 430.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.002259/0.5492, allocations: 0.997 MB / 0.5243 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.5497, allocations: 190.8 kB / 0.5245 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.554, allocations: 2.202 MB / 0.5266 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.554, allocations: 12 kB / 0.5266 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.554, allocations: 11.94 kB / 0.5267 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.554, allocations: 7.969 kB / 0.5267 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009364/0.5634, allocations: 4.933 MB / 0.5315 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5634, allocations: 8.188 kB / 0.5315 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/0.5643, allocations: 171.7 kB / 0.5316 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.5656, allocations: 0.4913 MB / 0.5321 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.5657, allocations: 35.98 kB / 0.5322 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.5783, allocations: 11.47 MB / 0.5434 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5783, allocations: 128 / 0.5434 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/0.5842, allocations: 3.101 MB / 0.5464 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5853, allocations: 423.7 kB / 0.5468 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.5856, allocations: 31.98 kB / 0.5468 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.5866, allocations: 59.95 kB / 0.5469 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.5869, allocations: 104.7 kB / 0.547 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/0.587, allocations: 35.98 kB / 0.547 GB, free: 8.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002046/0.5891, allocations: 1.186 MB / 0.5482 GB, free: 6.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5891, allocations: 0 / 0.5482 GB, free: 6.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002489/0.5915, allocations: 0.543 MB / 0.5487 GB, free: 6.391 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.005999/0.5975, allocations: 3.701 MB / 0.5523 GB, free: 2.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00412/0.6017, allocations: 2.072 MB / 0.5543 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6017, allocations: 0.875 kB / 0.5543 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002804/0.6045, allocations: 1.502 MB / 0.5558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/0.6075, allocations: 0.5167 MB / 0.5563 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0385/0.646, allocations: 19.27 MB / 0.5751 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.6485, allocations: 2.289 MB / 0.5774 GB, free: 8.082 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001437/0.6499, allocations: 379.9 kB / 0.5777 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.6515, allocations: 1.112 MB / 0.5788 GB, free: 6.594 MB / 494.1 MB Notification: Performance of SimCode: time 2.024e-06/0.6515, allocations: 0 / 0.5788 GB, free: 6.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.365/1.016, allocations: 51.36 MB / 0.629 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.93, allocations: 2.125 kB / 0.629 GB, free: 169.1 MB / 0.5137 GB " [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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.63354798266664] 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'] 15.043454328086227 15.05536037 14.649515004 Calling exit ...