Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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.001347/0.001347, allocations: 121.1 kB / 18.45 MB, free: 4.59 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.001559/0.001559, allocations: 213.7 kB / 21.41 MB, free: 1.641 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.541/1.541, allocations: 227.7 MB / 251.9 MB, free: 15.88 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_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.001912/0.001912, allocations: 63.83 kB / 365.3 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 50.54 MB / 415.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02465/0.1302, allocations: 21.56 MB / 437.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.144, allocations: 6.788 MB / 444.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003576/0.1476, allocations: 143.6 kB / 444.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2495/0.3972, allocations: 6.815 MB / 451.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008397/0.4056, allocations: 2.752 MB / 453.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.4103, allocations: 1.571 MB / 455.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.4236, allocations: 9.068 MB / 464.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02555/0.4492, allocations: 17.8 MB / 482.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009094/0.4583, allocations: 4.635 MB / 486.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.471, allocations: 5.167 MB / 492.1 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004388/0.4754, allocations: 1.359 MB / 493.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006769/0.4822, allocations: 1.693 MB / 495.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004902/0.4872, allocations: 2.614 MB / 497.8 MB, free: 2.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.4986, allocations: 4.96 MB / 0.4909 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02889/0.5275, allocations: 18.25 MB / 0.5088 GB, free: 11.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.5276, allocations: 4 kB / 0.5088 GB, free: 11.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5276, allocations: 0 / 0.5088 GB, free: 11.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005525/0.5281, allocations: 0 / 0.5088 GB, free: 11.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03785/0.566, allocations: 10.74 MB / 0.5193 GB, free: 1.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5661, allocations: 12.03 kB / 0.5193 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003813/0.5699, allocations: 1.089 MB / 0.5203 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0337/0.6036, allocations: 5.899 MB / 0.5261 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.6162, allocations: 5.739 MB / 0.5317 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/0.6167, allocations: 0.5655 MB / 0.5323 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003216/0.62, allocations: 0.7311 MB / 0.533 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03284/0.6528, allocations: 12.89 MB / 0.5456 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002162/0.6531, allocations: 7.953 kB / 0.5456 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/0.6548, allocations: 316.2 kB / 0.5459 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005534/0.6554, allocations: 0.4883 MB / 0.5463 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.684, allocations: 12.63 MB / 0.5587 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08734/0.7714, allocations: 41.54 MB / 0.5992 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03438/0.8058, allocations: 26.26 MB / 0.6249 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2751/1.081, allocations: 3.222 MB / 0.628 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004944/1.081, allocations: 268.9 kB / 0.6283 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/1.082, allocations: 78.94 kB / 0.6284 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 6.292e-06/1.082, allocations: 0 / 0.6284 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.04226/1.124, allocations: 17.13 MB / 0.6451 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/1.124, allocations: 93.45 kB / 0.6452 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00485/1.129, allocations: 2.844 MB / 0.648 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008097/1.13, allocations: 91.45 kB / 0.648 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.132, allocations: 3.149 MB / 0.6511 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.133, allocations: 1.464 MB / 0.6525 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/1.135, allocations: 0.9607 MB / 0.6535 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.392e-05/1.135, allocations: 305.8 kB / 0.6538 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/1.139, allocations: 2.508 MB / 0.6562 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004424/1.143, allocations: 4.115 MB / 0.6602 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008329/1.152, allocations: 7.201 MB / 0.6673 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-05/1.152, allocations: 15.84 kB / 0.6673 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01351/1.165, allocations: 8.056 MB / 0.6752 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/1.165, allocations: 27.69 kB / 0.6752 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-05/1.166, allocations: 53.86 kB / 0.6752 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/1.169, allocations: 1.239 MB / 0.6764 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/1.173, allocations: 1.136 MB / 0.6776 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.188, allocations: 11.24 MB / 0.6885 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.192, allocations: 268.6 kB / 0.6888 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.193, allocations: 236 kB / 0.689 GB, free: 126.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008659/1.202, allocations: 2.944 MB / 0.6919 GB, free: 123.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/1.204, allocations: 369.6 kB / 0.6922 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.218, allocations: 6.718 MB / 0.6988 GB, free: 116.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/1.219, allocations: 47.94 kB / 0.6988 GB, free: 116.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.914e-05/1.219, allocations: 8 kB / 0.6989 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.672e-05/1.219, allocations: 19.92 kB / 0.6989 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03/1.249, allocations: 14.9 MB / 0.7134 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/1.249, allocations: 8.125 kB / 0.7134 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.252, allocations: 0.7567 MB / 0.7142 GB, free: 101 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/1.255, allocations: 1.121 MB / 0.7153 GB, free: 99.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007833/1.256, allocations: 104 kB / 0.7154 GB, free: 99.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.268, allocations: 10.16 MB / 0.7253 GB, free: 89.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.269, allocations: 11.94 kB / 0.7253 GB, free: 89.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.286, allocations: 10.05 MB / 0.7351 GB, free: 79.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002681/1.288, allocations: 0.9397 MB / 0.736 GB, free: 78.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.29, allocations: 95.86 kB / 0.7361 GB, free: 78.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003055/1.293, allocations: 199.8 kB / 0.7363 GB, free: 77.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/1.294, allocations: 299.3 kB / 0.7366 GB, free: 77.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005501/1.295, allocations: 139.8 kB / 0.7367 GB, free: 77.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003831/1.298, allocations: 1.951 MB / 0.7386 GB, free: 75.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.71e-07/1.298, allocations: 0 / 0.7386 GB, free: 75.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007057/1.305, allocations: 1.391 MB / 0.74 GB, free: 74.15 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/1.322, allocations: 10.78 MB / 0.7505 GB, free: 63.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.333, allocations: 6.753 MB / 0.7571 GB, free: 56.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.333, allocations: 4 kB / 0.7571 GB, free: 56.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006516/1.34, allocations: 3.565 MB / 0.7606 GB, free: 52.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006638/1.346, allocations: 0.8361 MB / 0.7614 GB, free: 52.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.089/1.436, allocations: 47.17 MB / 0.8075 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009152/1.445, allocations: 5.081 MB / 0.8124 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005937/1.451, allocations: 1.61 MB / 0.814 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006383/1.457, allocations: 2.686 MB / 0.8166 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/1.457, allocations: 0 / 0.8166 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3879/1.845, allocations: 109.7 MB / 0.9238 GB, free: 93.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/19.56, allocations: 14.84 kB / 0.9238 GB, free: 93.43 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.14994602801744] Failed to read output from testmodel.py, exit status != 0: 19.696321607916616 19.710869474 19.180718801 Calling exit ...