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.001401/0.001401, allocations: 117.4 kB / 18.45 MB, free: 4.613 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.001549/0.001549, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.508/1.508, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.002019/0.002019, allocations: 67.84 kB / 365.2 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1129, allocations: 50.54 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01783/0.1308, allocations: 13.44 MB / 429.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1418, allocations: 4.505 MB / 433.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/0.145, allocations: 75.75 kB / 433.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.1488, allocations: 0.994 MB / 434.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004699/0.1535, allocations: 1.257 MB / 436 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.1562, allocations: 0.8854 MB / 436.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005953/0.1621, allocations: 3.932 MB / 440.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.1668, allocations: 3.228 MB / 444.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.24/0.4068, allocations: 1.84 MB / 445.9 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.4103, allocations: 2.189 MB / 448.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.4113, allocations: 0.4984 MB / 448.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4132, allocations: 0.7164 MB / 449.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.4142, allocations: 1.113 MB / 450.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003063/0.4173, allocations: 2.079 MB / 452.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.4291, allocations: 6.654 MB / 459.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.4291, allocations: 0 / 459.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4292, allocations: 0.8438 kB / 459.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002298/0.4294, allocations: 1.594 kB / 459.2 MB, free: 8.129 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.01598/0.4454, allocations: 4.42 MB / 463.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.4455, allocations: 12.69 kB / 463.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001108/0.4466, allocations: 452 kB / 464.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/0.4511, allocations: 0.7995 MB / 464.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/0.4563, allocations: 2.414 MB / 467.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.4566, allocations: 244.2 kB / 467.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.4576, allocations: 311.1 kB / 467.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008845/0.4665, allocations: 4.227 MB / 472 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.244e-05/0.4666, allocations: 6.391 kB / 472 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.467, allocations: 133.2 kB / 472.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.4672, allocations: 149 kB / 472.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006955/0.4741, allocations: 3.616 MB / 475.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.498, allocations: 13.14 MB / 489.1 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/0.5058, allocations: 7.172 MB / 496.3 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/0.5089, allocations: 1.623 MB / 497.9 MB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007709/0.5167, allocations: 4.207 MB / 0.4903 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.5167, allocations: 47.56 kB / 0.4904 GB, free: 12.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.785e-06/0.5167, allocations: 0 / 0.4904 GB, free: 12.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01239/0.5291, allocations: 5.614 MB / 0.4958 GB, free: 7.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.5292, allocations: 68.41 kB / 0.4959 GB, free: 7.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.5321, allocations: 1.722 MB / 0.4976 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.5323, allocations: 49.69 kB / 0.4976 GB, free: 5.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.5335, allocations: 1.446 MB / 0.4991 GB, free: 3.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.5339, allocations: 450.1 kB / 0.4995 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.5344, allocations: 291.4 kB / 0.4998 GB, free: 3.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5346, allocations: 304.3 kB / 0.5001 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.5359, allocations: 0.6636 MB / 0.5007 GB, free: 2.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.5375, allocations: 1.127 MB / 0.5018 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.5404, allocations: 1.898 MB / 0.5037 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.5404, allocations: 4 kB / 0.5037 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004442/0.5449, allocations: 2.414 MB / 0.506 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.5449, allocations: 15.94 kB / 0.506 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.545, allocations: 16 kB / 0.506 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009241/0.5459, allocations: 310.9 kB / 0.5063 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.5473, allocations: 356.4 kB / 0.5067 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007405/0.5547, allocations: 6.629 MB / 0.5132 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.5566, allocations: 84 kB / 0.5132 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.5569, allocations: 75.94 kB / 0.5133 GB, free: 4.566 MB / 414.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.002461/0.5594, allocations: 0.9982 MB / 0.5143 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/0.5599, allocations: 190.8 kB / 0.5145 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.5645, allocations: 2.217 MB / 0.5166 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.5646, allocations: 12 kB / 0.5166 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.5646, allocations: 8 kB / 0.5166 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.5646, allocations: 3.984 kB / 0.5167 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009569/0.5742, allocations: 4.952 MB / 0.5215 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5742, allocations: 4.188 kB / 0.5215 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.575, allocations: 166.8 kB / 0.5217 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.5764, allocations: 498.7 kB / 0.5221 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.5765, allocations: 31.98 kB / 0.5222 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.59, allocations: 11.47 MB / 0.5334 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.59, allocations: 4.031 kB / 0.5334 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006148/0.5962, allocations: 3.122 MB / 0.5364 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.5974, allocations: 419.8 kB / 0.5368 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/0.5978, allocations: 36 kB / 0.5368 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.5988, allocations: 59.94 kB / 0.5369 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/0.5992, allocations: 100.4 kB / 0.537 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/0.5993, allocations: 43.98 kB / 0.537 GB, free: 11.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002244/0.6016, allocations: 1.178 MB / 0.5382 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6016, allocations: 0 / 0.5382 GB, free: 10.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002654/0.6043, allocations: 0.5468 MB / 0.5387 GB, free: 9.77 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.006253/0.6105, allocations: 3.723 MB / 0.5424 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.6147, allocations: 2.132 MB / 0.5444 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6147, allocations: 0 / 0.5444 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.6176, allocations: 1.564 MB / 0.546 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.6204, allocations: 0.5102 MB / 0.5465 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/0.6572, allocations: 19.3 MB / 0.5653 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/0.6598, allocations: 2.285 MB / 0.5676 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.6612, allocations: 379.9 kB / 0.5679 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/0.6629, allocations: 1.112 MB / 0.569 GB, free: 10.07 MB / 478.1 MB Notification: Performance of SimCode: time 9.81e-07/0.6629, allocations: 4 kB / 0.569 GB, free: 10.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/0.78, allocations: 50.78 MB / 0.6186 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.08, allocations: 7.969 kB / 0.6186 GB, free: 7.836 MB / 0.5137 GB " [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 & 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: 16.982449547038414] 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.194529508939013 14.445679767 14.014107163 Calling exit ...