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.001549/0.001549, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00154/0.00154, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001956/0.001956, allocations: 68.77 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2906, allocations: 53.36 MB / 431.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01824/0.3088, allocations: 14.38 MB / 446.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3197, allocations: 4.712 MB / 451 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.3229, allocations: 107.3 kB / 451.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.3264, allocations: 1.06 MB / 452.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.3318, allocations: 1.358 MB / 453.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.3345, allocations: 0.9391 MB / 454.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006334/0.3409, allocations: 4.151 MB / 458.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.3438, allocations: 1.813 MB / 460.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.3475, allocations: 1.955 MB / 462.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/0.3522, allocations: 2.246 MB / 464.7 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.3534, allocations: 0.5078 MB / 465.2 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.3555, allocations: 0.7341 MB / 465.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.3567, allocations: 1.126 MB / 467 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.36, allocations: 2.151 MB / 469.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009814/0.3698, allocations: 6.762 MB / 475.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3698, allocations: 0 / 475.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3698, allocations: 0 / 475.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001999/0.37, allocations: 0 / 475.9 MB, free: 10.7 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01405/0.3841, allocations: 4.443 MB / 480.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.3841, allocations: 12.03 kB / 480.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007945/0.3849, allocations: 459.8 kB / 480.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.3894, allocations: 0.83 MB / 481.7 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006053/0.3955, allocations: 2.408 MB / 484.1 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.3957, allocations: 246.6 kB / 484.3 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009525/0.3967, allocations: 320 kB / 484.6 MB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008592/0.4053, allocations: 4.278 MB / 488.9 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.845e-05/0.4053, allocations: 3.953 kB / 488.9 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.4057, allocations: 136 kB / 489.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.4058, allocations: 150.4 kB / 489.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007049/0.4129, allocations: 3.609 MB / 492.8 MB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.4376, allocations: 13.5 MB / 0.4944 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00528/0.4429, allocations: 2.605 MB / 0.497 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.4454, allocations: 1.285 MB / 0.4982 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007601/0.453, allocations: 3.419 MB / 0.5016 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/0.453, allocations: 59.8 kB / 0.5016 GB, free: 4.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 5.14e-06/0.4531, allocations: 0 / 0.5016 GB, free: 4.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01317/0.4662, allocations: 5.237 MB / 0.5068 GB, free: 15.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.4663, allocations: 64.72 kB / 0.5068 GB, free: 15.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/0.4705, allocations: 1.805 MB / 0.5086 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.4707, allocations: 49.7 kB / 0.5086 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.4722, allocations: 1.486 MB / 0.5101 GB, free: 11.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006324/0.4729, allocations: 0.4958 MB / 0.5106 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006979/0.4736, allocations: 323.4 kB / 0.5109 GB, free: 10.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4737, allocations: 305.1 kB / 0.5112 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4751, allocations: 0.6832 MB / 0.5118 GB, free: 9.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.4769, allocations: 1.197 MB / 0.513 GB, free: 8.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.4802, allocations: 2.003 MB / 0.515 GB, free: 6.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.4802, allocations: 4 kB / 0.515 GB, free: 6.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005172/0.4854, allocations: 2.465 MB / 0.5174 GB, free: 3.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.4854, allocations: 12 kB / 0.5174 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.4855, allocations: 16 kB / 0.5174 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4866, allocations: 364.3 kB / 0.5177 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4881, allocations: 379.4 kB / 0.5181 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009513/0.4977, allocations: 7.989 MB / 0.5259 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.4994, allocations: 79.91 kB / 0.526 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/0.4998, allocations: 75.98 kB / 0.526 GB, free: 10.46 MB / 446.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.002723/0.5025, allocations: 1.011 MB / 0.527 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/0.5033, allocations: 210.6 kB / 0.5272 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.5085, allocations: 2.116 MB / 0.5293 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.5085, allocations: 12 kB / 0.5293 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/0.5086, allocations: 8 kB / 0.5293 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.5086, allocations: 11.97 kB / 0.5293 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5197, allocations: 4.897 MB / 0.5341 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5197, allocations: 0 / 0.5341 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.5206, allocations: 183.9 kB / 0.5343 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.5222, allocations: 0.5281 MB / 0.5348 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.5223, allocations: 43.92 kB / 0.5348 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2351/0.7574, allocations: 12.61 MB / 0.5472 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7574, allocations: 7.391 kB / 0.5472 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.7624, allocations: 3.061 MB / 0.5502 GB, free: 88.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7637, allocations: 364.6 kB / 0.5505 GB, free: 88.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.764, allocations: 37.42 kB / 0.5505 GB, free: 88.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/0.7648, allocations: 60.45 kB / 0.5506 GB, free: 88.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.7651, allocations: 119.3 kB / 0.5507 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/0.7652, allocations: 39.2 kB / 0.5508 GB, free: 88.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001518/0.7667, allocations: 1.236 MB / 0.552 GB, free: 87.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7667, allocations: 1.531 kB / 0.552 GB, free: 87.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001992/0.7687, allocations: 0.5777 MB / 0.5525 GB, free: 87.51 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.00421/0.7729, allocations: 3.691 MB / 0.5561 GB, free: 85.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.776, allocations: 2.208 MB / 0.5583 GB, free: 84.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.776, allocations: 0 / 0.5583 GB, free: 84.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.7782, allocations: 1.69 MB / 0.5599 GB, free: 83.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.7805, allocations: 0.5532 MB / 0.5605 GB, free: 83.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/0.8056, allocations: 20.12 MB / 0.5801 GB, free: 64.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.8071, allocations: 2.315 MB / 0.5824 GB, free: 62.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.8082, allocations: 405.2 kB / 0.5828 GB, free: 61.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.8092, allocations: 1.148 MB / 0.5839 GB, free: 60.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.8092, allocations: 0 / 0.5839 GB, free: 60.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/0.9189, allocations: 55.56 MB / 0.6382 GB, free: 5.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.25, allocations: 0 / 0.6382 GB, free: 5.559 MB / 446.1 MB " [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.831526319030672] 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.373855740763247 15.396155292 15.021427649 Calling exit ...