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_Steinmetz.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.00141/0.00141, allocations: 121.4 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.002244/0.002244, allocations: 214.5 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.487/1.487, allocations: 227.7 MB / 251.9 MB, free: 15.85 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_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",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.001999/0.001999, allocations: 75.81 kB / 365.3 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, 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_Steinmetz): time 0.01851/0.1293, allocations: 14.26 MB / 430.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.1406, allocations: 4.68 MB / 434.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.1438, allocations: 83.69 kB / 434.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.1479, allocations: 1.021 MB / 435.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.1532, allocations: 1.288 MB / 437.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.1564, allocations: 0.9455 MB / 438.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007287/0.1637, allocations: 4.129 MB / 442.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2535/0.4173, allocations: 3.228 MB / 445.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.4207, allocations: 1.898 MB / 447.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.4242, allocations: 2.217 MB / 449.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.4254, allocations: 0.5094 MB / 450 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.4274, allocations: 0.7338 MB / 450.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4286, allocations: 1.111 MB / 451.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003577/0.4321, allocations: 2.149 MB / 454 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.4426, allocations: 6.768 MB / 460.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.4427, allocations: 0.75 kB / 460.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4427, allocations: 3.438 kB / 460.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.4429, allocations: 1.625 kB / 460.8 MB, free: 6.773 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01413/0.4571, allocations: 4.519 MB / 465.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4571, allocations: 16.44 kB / 465.4 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007792/0.4579, allocations: 459.2 kB / 465.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/0.4624, allocations: 0.8218 MB / 466.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.4674, allocations: 2.466 MB / 469.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.4677, allocations: 245.9 kB / 469.3 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007123/0.4684, allocations: 331 kB / 469.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008715/0.4771, allocations: 4.267 MB / 473.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-05/0.4773, allocations: 12.75 kB / 473.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/0.4777, allocations: 131.4 kB / 474.1 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000265/0.4779, allocations: 145.2 kB / 474.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0069/0.4848, allocations: 3.612 MB / 477.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03762/0.5225, allocations: 13.84 MB / 491.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.5338, allocations: 6.672 MB / 498.3 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004092/0.5379, allocations: 1.402 MB / 499.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.5497, allocations: 3.896 MB / 0.4918 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.5499, allocations: 48.56 kB / 0.4919 GB, free: 11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 8.566e-06/0.5499, allocations: 0 / 0.4919 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01536/0.5653, allocations: 5.949 MB / 0.4977 GB, free: 4.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.5654, allocations: 64.72 kB / 0.4977 GB, free: 4.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.5697, allocations: 1.802 MB / 0.4995 GB, free: 3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.5699, allocations: 45.7 kB / 0.4995 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.5714, allocations: 1.488 MB / 0.501 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006341/0.5721, allocations: 0.4936 MB / 0.5015 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/0.5728, allocations: 327.4 kB / 0.5018 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5729, allocations: 301.1 kB / 0.5021 GB, free: 352 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.5743, allocations: 0.6793 MB / 0.5027 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.5762, allocations: 1.197 MB / 0.5039 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/0.5794, allocations: 2.008 MB / 0.5059 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.5795, allocations: 7.375 kB / 0.5059 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005133/0.5846, allocations: 2.558 MB / 0.5084 GB, free: 9.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.5846, allocations: 12 kB / 0.5084 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/0.5847, allocations: 16 kB / 0.5084 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.5858, allocations: 363.6 kB / 0.5087 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5873, allocations: 380.7 kB / 0.5091 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.5966, allocations: 8.402 MB / 0.5173 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.599, allocations: 75.86 kB / 0.5174 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/0.5995, allocations: 75.98 kB / 0.5175 GB, free: 15.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003091/0.6026, allocations: 1.005 MB / 0.5184 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007293/0.6033, allocations: 210.6 kB / 0.5186 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.6086, allocations: 2.294 MB / 0.5209 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.6086, allocations: 15.84 kB / 0.5209 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-05/0.6087, allocations: 8 kB / 0.5209 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.6087, allocations: 7.969 kB / 0.5209 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.6205, allocations: 5.106 MB / 0.5259 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.6205, allocations: 0 / 0.5259 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/0.6213, allocations: 174.7 kB / 0.5261 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.623, allocations: 0.5312 MB / 0.5266 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.6231, allocations: 43.98 kB / 0.5266 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.6384, allocations: 13.25 MB / 0.5396 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6384, allocations: 4.031 kB / 0.5396 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/0.645, allocations: 3.23 MB / 0.5427 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.6464, allocations: 435.7 kB / 0.5431 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006368/0.6471, allocations: 39.94 kB / 0.5432 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.6484, allocations: 67.94 kB / 0.5432 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/0.6488, allocations: 105.1 kB / 0.5433 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.6489, allocations: 35.98 kB / 0.5434 GB, free: 4.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002767/0.6517, allocations: 1.239 MB / 0.5446 GB, free: 3.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6517, allocations: 0 / 0.5446 GB, free: 3.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003354/0.655, allocations: 0.582 MB / 0.5452 GB, free: 2.586 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.006575/0.6616, allocations: 3.855 MB / 0.5489 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004289/0.6659, allocations: 2.362 MB / 0.5512 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.666, allocations: 3.125 kB / 0.5512 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002952/0.6689, allocations: 1.741 MB / 0.5529 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/0.6728, allocations: 0.5515 MB / 0.5535 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04418/0.717, allocations: 20.27 MB / 0.5733 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004138/0.7212, allocations: 2.315 MB / 0.5755 GB, free: 2.762 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001916/0.7231, allocations: 405.2 kB / 0.5759 GB, free: 2.363 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/0.7254, allocations: 1.144 MB / 0.577 GB, free: 1.219 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7255, allocations: 3.938 kB / 0.577 GB, free: 1.215 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3698/1.095, allocations: 53.68 MB / 0.6295 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.03, allocations: 7.594 kB / 0.6295 GB, free: 167.8 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --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_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.634347395971417] Failed to read output from testmodel.py, exit status != 0: ['time', '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', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 15.146152177010663 15.159590666 14.714424504 Calling exit ...