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.001657/0.001657, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001478/0.001478, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.00205/0.00205, allocations: 56.78 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2846, allocations: 53.39 MB / 432 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02703/0.3116, allocations: 21.68 MB / 453.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.3266, allocations: 6.831 MB / 460.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005111/0.3317, allocations: 175.1 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01707/0.3487, allocations: 6.935 MB / 467.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.3591, allocations: 2.876 MB / 470.5 MB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005054/0.3642, allocations: 1.621 MB / 472.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01371/0.3779, allocations: 9.172 MB / 481.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.3974, allocations: 11.06 MB / 492.3 MB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009193/0.4066, allocations: 4.766 MB / 497.1 MB, free: 5.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0091/0.4157, allocations: 5.241 MB / 0.4906 GB, free: 228 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003459/0.4191, allocations: 1.359 MB / 0.4919 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.4242, allocations: 1.707 MB / 0.4935 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004021/0.4283, allocations: 2.619 MB / 0.4961 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009449/0.4377, allocations: 4.962 MB / 0.5009 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.4633, allocations: 18.25 MB / 0.5188 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4633, allocations: 0 / 0.5188 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4634, allocations: 0 / 0.5188 GB, free: 3.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005021/0.4639, allocations: 0 / 0.5188 GB, free: 3.242 MB / 430.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.0368/0.5006, allocations: 10.67 MB / 0.5292 GB, free: 8.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.404e-05/0.5007, allocations: 12.03 kB / 0.5292 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005082/0.5058, allocations: 1.086 MB / 0.5303 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/0.539, allocations: 5.899 MB / 0.536 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4815/1.021, allocations: 5.77 MB / 0.5417 GB, free: 86.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/1.021, allocations: 0.5573 MB / 0.5422 GB, free: 85.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/1.024, allocations: 0.7302 MB / 0.5429 GB, free: 85.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/1.055, allocations: 12.89 MB / 0.5555 GB, free: 80.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/1.056, allocations: 15.52 kB / 0.5555 GB, free: 80.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/1.057, allocations: 312.6 kB / 0.5558 GB, free: 80.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004515/1.058, allocations: 497.1 kB / 0.5563 GB, free: 80.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.079, allocations: 12.62 MB / 0.5686 GB, free: 70.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05711/1.137, allocations: 40.55 MB / 0.6082 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/1.148, allocations: 8.615 MB / 0.6166 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00381/1.152, allocations: 2.914 MB / 0.6195 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/1.152, allocations: 113.7 kB / 0.6196 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/1.152, allocations: 77.77 kB / 0.6197 GB, free: 18.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.28e-06/1.152, allocations: 0 / 0.6197 GB, free: 18.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.0321/1.184, allocations: 16.94 MB / 0.6362 GB, free: 2.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.184, allocations: 94.67 kB / 0.6363 GB, free: 1.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/1.188, allocations: 2.845 MB / 0.6391 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002945/1.189, allocations: 93.7 kB / 0.6392 GB, free: 15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.191, allocations: 3.144 MB / 0.6422 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.193, allocations: 1.463 MB / 0.6437 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/1.194, allocations: 0.9544 MB / 0.6446 GB, free: 9.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/1.194, allocations: 301.1 kB / 0.6449 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004427/1.199, allocations: 2.512 MB / 0.6473 GB, free: 6.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/1.205, allocations: 4.113 MB / 0.6514 GB, free: 1.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.215, allocations: 7.206 MB / 0.6584 GB, free: 9.852 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.898e-05/1.215, allocations: 16 kB / 0.6584 GB, free: 9.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01594/1.231, allocations: 8.031 MB / 0.6662 GB, free: 1.781 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/1.231, allocations: 28 kB / 0.6663 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/1.231, allocations: 51.94 kB / 0.6663 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003783/1.235, allocations: 1.23 MB / 0.6675 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/1.24, allocations: 1.135 MB / 0.6686 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/1.259, allocations: 11.05 MB / 0.6794 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005414/1.264, allocations: 259.7 kB / 0.6797 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000774/1.265, allocations: 236 kB / 0.6799 GB, free: 3.57 MB / 494.1 MB 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.006759/1.272, allocations: 2.96 MB / 0.6828 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.273, allocations: 365.7 kB / 0.6831 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.285, allocations: 6.672 MB / 0.6897 GB, free: 9.539 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/1.285, allocations: 40 kB / 0.6897 GB, free: 9.5 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.285, allocations: 12 kB / 0.6897 GB, free: 9.488 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.296e-05/1.285, allocations: 19.92 kB / 0.6897 GB, free: 9.469 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/1.313, allocations: 14.88 MB / 0.7042 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.313, allocations: 4 kB / 0.7043 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/1.316, allocations: 0.7489 MB / 0.705 GB, free: 9.742 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/1.32, allocations: 1.132 MB / 0.7061 GB, free: 8.602 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003569/1.32, allocations: 95.97 kB / 0.7062 GB, free: 8.508 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/1.335, allocations: 9.965 MB / 0.7159 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.335, allocations: 4 kB / 0.7159 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/1.353, allocations: 10.02 MB / 0.7257 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.356, allocations: 0.8956 MB / 0.7266 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/1.356, allocations: 80 kB / 0.7267 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.358, allocations: 203.8 kB / 0.7268 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007477/1.359, allocations: 315.1 kB / 0.7271 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/1.359, allocations: 124 kB / 0.7273 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003376/1.362, allocations: 1.963 MB / 0.7292 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.362, allocations: 0 / 0.7292 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005095/1.367, allocations: 1.394 MB / 0.7305 GB, free: 15.19 MB / 0.545 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.01754/1.385, allocations: 10.72 MB / 0.741 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2674/1.652, allocations: 6.499 MB / 0.7474 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.652, allocations: 1.875 kB / 0.7474 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006701/1.659, allocations: 3.32 MB / 0.7506 GB, free: 190.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/1.664, allocations: 0.8382 MB / 0.7514 GB, free: 190.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07431/1.738, allocations: 47.21 MB / 0.7975 GB, free: 155 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005633/1.744, allocations: 5.084 MB / 0.8025 GB, free: 149.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00405/1.748, allocations: 1.614 MB / 0.8041 GB, free: 148.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/1.751, allocations: 2.686 MB / 0.8067 GB, free: 145.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/1.751, allocations: 0 / 0.8067 GB, free: 145.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/1.96, allocations: 116.2 MB / 0.9202 GB, free: 29.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/20.25, allocations: 11.92 kB / 0.9202 GB, free: 29.91 MB / 0.545 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.903386699035764] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.wMechanical', 'currentQuasiRMSSensor.I'] 20.392919950187206 20.405906614 19.938604612 Calling exit ...