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.001727/0.001727, allocations: 122 kB / 18.5 MB, free: 4.621 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.002053/0.002053, allocations: 215.3 kB / 21.46 MB, free: 1.668 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.5/1.5, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.002594/0.002594, allocations: 75.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1089, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2372/0.3462, allocations: 21.63 MB / 448.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.364, allocations: 6.819 MB / 455.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005526/0.3696, allocations: 175.2 kB / 455.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01788/0.3875, allocations: 6.908 MB / 462.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.4008, allocations: 2.797 MB / 465.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.4066, allocations: 1.576 MB / 467 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01513/0.4217, allocations: 9.075 MB / 476 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02175/0.4435, allocations: 13.05 MB / 489.1 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009114/0.4526, allocations: 4.734 MB / 493.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009987/0.4626, allocations: 5.225 MB / 499 MB, free: 8.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004111/0.4667, allocations: 1.359 MB / 0.4887 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006263/0.473, allocations: 1.687 MB / 0.4903 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004961/0.4779, allocations: 2.626 MB / 0.4929 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.489, allocations: 4.962 MB / 0.4977 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02808/0.5171, allocations: 18.25 MB / 0.5155 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.5171, allocations: 0 / 0.5155 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5171, allocations: 0 / 0.5155 GB, free: 11.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006445/0.5177, allocations: 0 / 0.5155 GB, free: 11.92 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.03972/0.5575, allocations: 10.74 MB / 0.526 GB, free: 1.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.5575, allocations: 12.03 kB / 0.5261 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005345/0.5629, allocations: 1.079 MB / 0.5271 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03642/0.5993, allocations: 5.903 MB / 0.5329 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.6146, allocations: 5.75 MB / 0.5385 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007768/0.6154, allocations: 0.554 MB / 0.539 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00425/0.6197, allocations: 0.7381 MB / 0.5397 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03787/0.6575, allocations: 12.89 MB / 0.5523 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.658, allocations: 11.95 kB / 0.5523 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003535/0.6615, allocations: 312 kB / 0.5526 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006877/0.6622, allocations: 496.1 kB / 0.5531 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02905/0.6912, allocations: 12.62 MB / 0.5654 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08235/0.7736, allocations: 41.54 MB / 0.606 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4202/1.194, allocations: 25.86 MB / 0.6313 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005166/1.199, allocations: 2.926 MB / 0.6341 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/1.199, allocations: 269.2 kB / 0.6344 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.199, allocations: 75.03 kB / 0.6344 GB, free: 135.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=410): time 6.321e-06/1.199, allocations: 0 / 0.6344 GB, free: 135.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=415): time 0.04043/1.24, allocations: 17.09 MB / 0.6511 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.24, allocations: 101.6 kB / 0.6512 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/1.245, allocations: 2.839 MB / 0.654 GB, free: 129 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007158/1.245, allocations: 92.61 kB / 0.6541 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.247, allocations: 3.141 MB / 0.6572 GB, free: 127 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.249, allocations: 1.471 MB / 0.6586 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/1.25, allocations: 0.9506 MB / 0.6595 GB, free: 125.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/1.25, allocations: 306.7 kB / 0.6598 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/1.254, allocations: 2.508 MB / 0.6623 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/1.259, allocations: 4.117 MB / 0.6663 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008311/1.267, allocations: 7.203 MB / 0.6733 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.465e-05/1.267, allocations: 17.53 kB / 0.6733 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01266/1.28, allocations: 8.028 MB / 0.6812 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/1.28, allocations: 28.59 kB / 0.6812 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.102e-05/1.28, allocations: 55.66 kB / 0.6813 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003229/1.283, allocations: 1.236 MB / 0.6825 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.287, allocations: 1.131 MB / 0.6836 GB, free: 113 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.301, allocations: 11.25 MB / 0.6946 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.304, allocations: 263.9 kB / 0.6948 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009458/1.305, allocations: 236 kB / 0.695 GB, free: 102.9 MB / 0.5138 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.005448/1.311, allocations: 2.944 MB / 0.6979 GB, free: 99.93 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.312, allocations: 377.6 kB / 0.6983 GB, free: 99.55 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.325, allocations: 6.676 MB / 0.7048 GB, free: 92.86 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/1.325, allocations: 44 kB / 0.7048 GB, free: 92.82 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.69e-05/1.325, allocations: 8.875 kB / 0.7048 GB, free: 92.81 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.119e-05/1.325, allocations: 19.92 kB / 0.7049 GB, free: 92.79 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02933/1.355, allocations: 14.86 MB / 0.7194 GB, free: 77.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/1.355, allocations: 4.094 kB / 0.7194 GB, free: 77.89 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/1.358, allocations: 0.7567 MB / 0.7201 GB, free: 77.13 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/1.361, allocations: 1.126 MB / 0.7212 GB, free: 76 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005496/1.362, allocations: 99.97 kB / 0.7213 GB, free: 75.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/1.373, allocations: 10.17 MB / 0.7312 GB, free: 65.46 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.373, allocations: 4 kB / 0.7312 GB, free: 65.45 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.387, allocations: 10.01 MB / 0.741 GB, free: 55.31 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.389, allocations: 0.9514 MB / 0.7419 GB, free: 54.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007902/1.39, allocations: 87.88 kB / 0.742 GB, free: 54.26 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.392, allocations: 203.8 kB / 0.7422 GB, free: 54.06 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006458/1.393, allocations: 295.3 kB / 0.7425 GB, free: 53.77 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/1.393, allocations: 128 kB / 0.7426 GB, free: 53.64 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002514/1.395, allocations: 1.963 MB / 0.7445 GB, free: 51.68 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.1e-08/1.395, allocations: 0 / 0.7445 GB, free: 51.68 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005688/1.401, allocations: 1.391 MB / 0.7459 GB, free: 50.29 MB / 0.5138 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.01386/1.415, allocations: 10.74 MB / 0.7564 GB, free: 39.42 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.425, allocations: 6.49 MB / 0.7627 GB, free: 32.91 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.425, allocations: 4 kB / 0.7627 GB, free: 32.91 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005897/1.431, allocations: 3.318 MB / 0.766 GB, free: 29.57 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00532/1.437, allocations: 0.8331 MB / 0.7668 GB, free: 28.78 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08974/1.526, allocations: 47.1 MB / 0.8128 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/1.537, allocations: 5.081 MB / 0.8178 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006724/1.543, allocations: 1.614 MB / 0.8193 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006111/1.55, allocations: 2.679 MB / 0.8219 GB, free: 2.258 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/1.55, allocations: 4 kB / 0.8219 GB, free: 2.254 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4186/1.968, allocations: 111.8 MB / 0.9311 GB, free: 97.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.42/20.39, allocations: 19.08 kB / 0.9311 GB, free: 97.46 MB / 0.545 GB " [Timeout remaining time 639] (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: 23.101687339134514] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.wMechanical', 'currentQuasiRMSSensor.I'] 20.53274384373799 20.549763531 20.029182226 Calling exit ...