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.SynchronousMachines.SMEE_DOL.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.00132/0.00132, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001403/0.001403, allocations: 205 kB / 21.45 MB, free: 1.629 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.534/1.534, 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",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.002037/0.002037, allocations: 71.83 kB / 373.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1082, allocations: 53.32 MB / 427 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.229/0.3372, allocations: 17.35 MB / 444.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.3515, allocations: 5.706 MB / 450.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.3556, allocations: 127.9 kB / 450.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004782/0.3604, allocations: 1.314 MB / 451.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007969/0.3684, allocations: 1.639 MB / 453.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.3721, allocations: 1.103 MB / 454.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.3829, allocations: 5.223 MB / 459.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005662/0.3886, allocations: 2.944 MB / 462.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.3937, allocations: 2.25 MB / 464.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006447/0.4002, allocations: 2.667 MB / 467.3 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.4026, allocations: 0.614 MB / 468 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.407, allocations: 0.8551 MB / 468.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.4104, allocations: 1.437 MB / 470.2 MB, free: 3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007874/0.4182, allocations: 2.64 MB / 472.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.4336, allocations: 8.168 MB / 481.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4336, allocations: 0 / 481.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4336, allocations: 0 / 481.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003352/0.4339, allocations: 0 / 481.1 MB, free: 10.89 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01975/0.4537, allocations: 5.528 MB / 486.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4537, allocations: 12.03 kB / 486.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002105/0.4558, allocations: 0.5988 MB / 487.2 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/0.4624, allocations: 1.032 MB / 488.2 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007877/0.4703, allocations: 3.025 MB / 491.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.4707, allocations: 305.6 kB / 491.6 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.4722, allocations: 400 kB / 491.9 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.4855, allocations: 5.225 MB / 497.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.693e-05/0.4856, allocations: 4 kB / 497.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005407/0.4862, allocations: 167.9 kB / 497.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.4864, allocations: 176 kB / 497.5 MB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.4973, allocations: 4.462 MB / 0.4902 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03837/0.5357, allocations: 16.74 MB / 0.5065 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009518/0.5452, allocations: 8.523 MB / 0.5149 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004914/0.5501, allocations: 1.988 MB / 0.5168 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.561, allocations: 5.785 MB / 0.5225 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.5611, allocations: 47.88 kB / 0.5225 GB, free: 2.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.727e-06/0.5611, allocations: 0 / 0.5225 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01472/0.5758, allocations: 6.376 MB / 0.5287 GB, free: 12.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.5759, allocations: 72.66 kB / 0.5288 GB, free: 12.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/0.5801, allocations: 2.312 MB / 0.5311 GB, free: 9.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003148/0.5804, allocations: 49.7 kB / 0.5311 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.5821, allocations: 1.913 MB / 0.533 GB, free: 7.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007435/0.5829, allocations: 0.5811 MB / 0.5335 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007034/0.5836, allocations: 399.9 kB / 0.5339 GB, free: 6.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5837, allocations: 301.1 kB / 0.5342 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.5854, allocations: 0.8553 MB / 0.535 GB, free: 5.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.5877, allocations: 1.571 MB / 0.5366 GB, free: 3.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.5919, allocations: 2.586 MB / 0.5391 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.5919, allocations: 8 kB / 0.5391 GB, free: 0.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005944/0.5978, allocations: 2.987 MB / 0.542 GB, free: 13.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.5979, allocations: 16 kB / 0.542 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/0.5979, allocations: 20 kB / 0.5421 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.5984, allocations: 189.8 kB / 0.5422 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.6006, allocations: 0.5305 MB / 0.5428 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.6035, allocations: 2.422 MB / 0.5451 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.6057, allocations: 115.8 kB / 0.5452 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.606, allocations: 99.98 kB / 0.5453 GB, free: 10.31 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00244/0.6084, allocations: 1.2 MB / 0.5465 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/0.6091, allocations: 258.4 kB / 0.5468 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.614, allocations: 2.519 MB / 0.5492 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.614, allocations: 12 kB / 0.5492 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.6141, allocations: 8 kB / 0.5492 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.6141, allocations: 7.969 kB / 0.5492 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.6251, allocations: 5.897 MB / 0.555 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6252, allocations: 0 / 0.555 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.6265, allocations: 279.8 kB / 0.5553 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.6275, allocations: 380.6 kB / 0.5556 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.6276, allocations: 39.98 kB / 0.5557 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008877/0.6365, allocations: 7.393 MB / 0.5629 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6365, allocations: 96 / 0.5629 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006989/0.6435, allocations: 3.672 MB / 0.5665 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.6451, allocations: 0.5032 MB / 0.567 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/0.6454, allocations: 36 kB / 0.567 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6465, allocations: 75.92 kB / 0.5671 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/0.6469, allocations: 121.1 kB / 0.5672 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.647, allocations: 51.92 kB / 0.5672 GB, free: 3.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002754/0.6497, allocations: 1.565 MB / 0.5688 GB, free: 1.586 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6497, allocations: 3.938 kB / 0.5688 GB, free: 1.582 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002929/0.6527, allocations: 0.6757 MB / 0.5694 GB, free: 0.9062 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00704/0.6597, allocations: 4.291 MB / 0.5736 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004442/0.6641, allocations: 2.238 MB / 0.5758 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.6642, allocations: 0 / 0.5758 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.6668, allocations: 1.414 MB / 0.5772 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.6701, allocations: 0.621 MB / 0.5778 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04676/0.7169, allocations: 24.43 MB / 0.6017 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.7199, allocations: 2.67 MB / 0.6043 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001957/0.7218, allocations: 0.5552 MB / 0.6048 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/0.724, allocations: 1.483 MB / 0.6063 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/0.724, allocations: 0 / 0.6063 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3494/1.073, allocations: 60.68 MB / 0.6655 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.14, allocations: 11.45 kB / 0.6655 GB, free: 139.2 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.csv --start-time 0 --stop-time 3 --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_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.06329250894487] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.inertiaRotor.phi', 'smee.inertiaRotor.w', 'smee.is[1]', 'smee.is[2]', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im'] 16.27289309538901 16.298017419 15.859267969 Calling exit ...