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_withLosses.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.001303/0.001303, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001408/0.001408, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.027 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_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",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.001929/0.001929, allocations: 68.77 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 53.37 MB / 432 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02005/0.3395, allocations: 14.4 MB / 446.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.3515, allocations: 5.405 MB / 451.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.3545, allocations: 99.44 kB / 451.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3584, allocations: 1.103 MB / 453 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.3638, allocations: 1.492 MB / 454.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.3669, allocations: 1.039 MB / 455.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00688/0.3738, allocations: 4.376 MB / 459.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.3771, allocations: 1.861 MB / 461.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.3808, allocations: 2.083 MB / 463.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.3857, allocations: 2.433 MB / 466.3 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.3871, allocations: 0.539 MB / 466.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3899, allocations: 0.9876 MB / 467.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.3915, allocations: 1.383 MB / 469.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00378/0.3953, allocations: 2.364 MB / 471.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.4072, allocations: 7.413 MB / 478.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4072, allocations: 4 kB / 478.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4072, allocations: 0 / 478.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002394/0.4074, allocations: 0 / 478.9 MB, free: 7.664 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.0151/0.4225, allocations: 5.072 MB / 484 MB, free: 2.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4226, allocations: 16.02 kB / 484 MB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001028/0.4236, allocations: 0.5267 MB / 484.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.4287, allocations: 0.9115 MB / 485.5 MB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/0.4365, allocations: 2.783 MB / 488.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.4369, allocations: 254.8 kB / 488.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.4384, allocations: 343.9 kB / 488.8 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.45, allocations: 4.584 MB / 493.4 MB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.973e-05/0.4501, allocations: 4 kB / 493.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003774/0.4504, allocations: 144 kB / 493.6 MB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/0.4506, allocations: 150.8 kB / 493.7 MB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008414/0.459, allocations: 3.946 MB / 497.7 MB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02684/0.4859, allocations: 13.92 MB / 0.4996 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/0.4922, allocations: 2.979 MB / 0.5025 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.4956, allocations: 1.571 MB / 0.504 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008213/0.5038, allocations: 4.039 MB / 0.508 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.5039, allocations: 51.88 kB / 0.508 GB, free: 13.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.767e-06/0.5039, allocations: 0 / 0.508 GB, free: 13.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01814/0.522, allocations: 7.441 MB / 0.5153 GB, free: 6.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.5221, allocations: 77.41 kB / 0.5154 GB, free: 6.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00432/0.5264, allocations: 2.661 MB / 0.518 GB, free: 3.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.5266, allocations: 61.7 kB / 0.518 GB, free: 3.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.5281, allocations: 1.693 MB / 0.5197 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/0.5287, allocations: 0.6584 MB / 0.5203 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.5293, allocations: 327.5 kB / 0.5206 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5294, allocations: 301.1 kB / 0.5209 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.5311, allocations: 0.9136 MB / 0.5218 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.5332, allocations: 1.31 MB / 0.5231 GB, free: 14.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.5371, allocations: 2.359 MB / 0.5254 GB, free: 11.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.5371, allocations: 7.938 kB / 0.5254 GB, free: 11.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006258/0.5434, allocations: 3.078 MB / 0.5284 GB, free: 8.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.5434, allocations: 12 kB / 0.5284 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.5434, allocations: 8 kB / 0.5284 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.5451, allocations: 0.5479 MB / 0.529 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.5469, allocations: 431.3 kB / 0.5294 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.5576, allocations: 7.391 MB / 0.5366 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2313/0.789, allocations: 83.03 kB / 0.5367 GB, free: 97.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005055/0.7895, allocations: 75.25 kB / 0.5367 GB, free: 97.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002656/0.7921, allocations: 1.169 MB / 0.5379 GB, free: 97.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006942/0.7928, allocations: 273.1 kB / 0.5382 GB, free: 97.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005434/0.7983, allocations: 2.88 MB / 0.541 GB, free: 96.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.7983, allocations: 20.34 kB / 0.541 GB, free: 96.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.7983, allocations: 8.562 kB / 0.541 GB, free: 96.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.7983, allocations: 8.719 kB / 0.541 GB, free: 96.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009492/0.8078, allocations: 6.329 MB / 0.5472 GB, free: 94.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.8078, allocations: 0 / 0.5472 GB, free: 94.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.809, allocations: 279.5 kB / 0.5474 GB, free: 94.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.8105, allocations: 0.6153 MB / 0.548 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.8106, allocations: 47.61 kB / 0.5481 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009009/0.8196, allocations: 11.02 MB / 0.5589 GB, free: 85.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8196, allocations: 3.906 kB / 0.5589 GB, free: 85.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/0.8258, allocations: 4.156 MB / 0.5629 GB, free: 83.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.827, allocations: 493.9 kB / 0.5634 GB, free: 83.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.8273, allocations: 43.98 kB / 0.5634 GB, free: 83.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.8284, allocations: 83.06 kB / 0.5635 GB, free: 83.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.8287, allocations: 141.8 kB / 0.5636 GB, free: 83.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8288, allocations: 59.97 kB / 0.5637 GB, free: 82.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002129/0.831, allocations: 1.87 MB / 0.5655 GB, free: 81.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.831, allocations: 0.6562 kB / 0.5655 GB, free: 81.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002164/0.8331, allocations: 0.6961 MB / 0.5662 GB, free: 80.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007017/0.8401, allocations: 5.073 MB / 0.5712 GB, free: 75.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004318/0.8445, allocations: 2.74 MB / 0.5738 GB, free: 72.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8445, allocations: 3.938 kB / 0.5738 GB, free: 72.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00312/0.8476, allocations: 1.837 MB / 0.5756 GB, free: 70.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/0.851, allocations: 0.5932 MB / 0.5762 GB, free: 70.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/0.8835, allocations: 26.23 MB / 0.6018 GB, free: 43.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.8853, allocations: 2.652 MB / 0.6044 GB, free: 40.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001494/0.8868, allocations: 0.4969 MB / 0.6049 GB, free: 40.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.8882, allocations: 1.448 MB / 0.6063 GB, free: 38.86 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.8882, allocations: 0 / 0.6063 GB, free: 38.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/1.04, allocations: 67.11 MB / 0.6719 GB, free: 4.203 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.94, allocations: 0 / 0.6719 GB, free: 4.203 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.csv --start-time 0 --stop-time 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_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.95112261828035] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.core.Phi.im', 'aimc.stator.core.Phi.re', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 18.140661056153476 18.160639151 17.749425106 Calling exit ...