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.001431/0.001431, allocations: 110.5 kB / 21.23 MB, free: 0.5117 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.001661/0.001661, allocations: 209.9 kB / 24.53 MB, free: 3.891 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002265/0.002265, allocations: 59.91 kB / 378.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2758, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02159/0.2974, allocations: 17.42 MB / 449.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.3093, allocations: 5.725 MB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.3129, allocations: 131.2 kB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.3176, allocations: 1.317 MB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006712/0.3243, allocations: 1.646 MB / 458.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.3282, allocations: 1.124 MB / 459.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0094/0.3376, allocations: 5.227 MB / 464.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00475/0.3423, allocations: 2.313 MB / 466.8 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.3462, allocations: 2.247 MB / 469.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005127/0.3514, allocations: 2.666 MB / 471.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002122/0.3535, allocations: 0.6133 MB / 472.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.3565, allocations: 0.863 MB / 473.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.359, allocations: 1.429 MB / 474.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005295/0.3643, allocations: 2.656 MB / 477.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3775, allocations: 8.165 MB / 485.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3775, allocations: 0 / 485.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3775, allocations: 0 / 485.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003025/0.3778, allocations: 0 / 485.5 MB, free: 1.078 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.01595/0.3937, allocations: 5.461 MB / 490.9 MB, free: 11.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3938, allocations: 11.97 kB / 490.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00167/0.3954, allocations: 0.6066 MB / 491.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.4017, allocations: 1.025 MB / 492.6 MB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007235/0.4089, allocations: 2.937 MB / 495.5 MB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.4092, allocations: 308 kB / 495.8 MB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.4105, allocations: 396 kB / 496.2 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.4231, allocations: 5.217 MB / 0.4897 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.4232, allocations: 15.94 kB / 0.4897 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005137/0.4237, allocations: 164 kB / 0.4898 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.4239, allocations: 168 kB / 0.49 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.4343, allocations: 4.474 MB / 0.4944 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.4651, allocations: 16.35 MB / 0.5103 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/0.4712, allocations: 3.255 MB / 0.5135 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004073/0.4753, allocations: 1.983 MB / 0.5154 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009384/0.4846, allocations: 4.607 MB / 0.5199 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.816e-05/0.4847, allocations: 55.88 kB / 0.52 GB, free: 1.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.878e-06/0.4847, allocations: 0 / 0.52 GB, free: 1.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01332/0.498, allocations: 5.897 MB / 0.5258 GB, free: 11.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4981, allocations: 72.7 kB / 0.5258 GB, free: 11.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.5021, allocations: 2.316 MB / 0.5281 GB, free: 9.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.5024, allocations: 49.7 kB / 0.5281 GB, free: 9.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.5042, allocations: 1.913 MB / 0.53 GB, free: 7.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/0.5049, allocations: 0.5772 MB / 0.5306 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.5056, allocations: 395.9 kB / 0.5309 GB, free: 6.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5057, allocations: 305.1 kB / 0.5312 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.5073, allocations: 0.8592 MB / 0.5321 GB, free: 5.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.5095, allocations: 1.574 MB / 0.5336 GB, free: 3.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.5134, allocations: 2.582 MB / 0.5361 GB, free: 228 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.5135, allocations: 12 kB / 0.5361 GB, free: 216 kB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.2221/0.7356, allocations: 2.897 MB / 0.539 GB, free: 96.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.7356, allocations: 18.94 kB / 0.539 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/0.7357, allocations: 23.16 kB / 0.539 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.7361, allocations: 185.3 kB / 0.5392 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.738, allocations: 0.5289 MB / 0.5397 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.7401, allocations: 2.331 MB / 0.542 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.742, allocations: 111.8 kB / 0.5421 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.7422, allocations: 96.84 kB / 0.5422 GB, free: 94.77 MB / 446.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.002343/0.7445, allocations: 1.198 MB / 0.5434 GB, free: 94.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005508/0.7451, allocations: 263 kB / 0.5436 GB, free: 94.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/0.7493, allocations: 2.37 MB / 0.5459 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.7493, allocations: 16.89 kB / 0.5459 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.7493, allocations: 3.969 kB / 0.5459 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.7494, allocations: 7.266 kB / 0.5459 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00942/0.7588, allocations: 5.72 MB / 0.5515 GB, free: 90.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.7588, allocations: 5.781 kB / 0.5515 GB, free: 90.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.76, allocations: 285.6 kB / 0.5518 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/0.7609, allocations: 364.7 kB / 0.5522 GB, free: 90.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.761, allocations: 39.39 kB / 0.5522 GB, free: 90.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005825/0.7668, allocations: 7.096 MB / 0.5591 GB, free: 84.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7668, allocations: 3.656 kB / 0.5591 GB, free: 84.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00553/0.7723, allocations: 3.501 MB / 0.5625 GB, free: 83.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.7735, allocations: 449.1 kB / 0.563 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.7739, allocations: 35.94 kB / 0.563 GB, free: 82.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.775, allocations: 81.91 kB / 0.5631 GB, free: 82.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.7752, allocations: 125.1 kB / 0.5632 GB, free: 82.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.7753, allocations: 44.55 kB / 0.5633 GB, free: 82.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.7774, allocations: 1.573 MB / 0.5648 GB, free: 80.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7774, allocations: 4 kB / 0.5648 GB, free: 80.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002314/0.7797, allocations: 0.67 MB / 0.5654 GB, free: 80.17 MB / 446.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.005047/0.7847, allocations: 4.158 MB / 0.5695 GB, free: 75.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003504/0.7882, allocations: 2.149 MB / 0.5716 GB, free: 73.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7882, allocations: 7.438 kB / 0.5716 GB, free: 73.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.7902, allocations: 1.408 MB / 0.573 GB, free: 72.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.7931, allocations: 0.5991 MB / 0.5736 GB, free: 71.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/0.828, allocations: 24.32 MB / 0.5973 GB, free: 46.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/0.83, allocations: 2.678 MB / 0.5999 GB, free: 43.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001825/0.8319, allocations: 0.5474 MB / 0.6005 GB, free: 43.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.8335, allocations: 1.479 MB / 0.6019 GB, free: 41.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/0.8335, allocations: 0 / 0.6019 GB, free: 41.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/0.948, allocations: 62.22 MB / 0.6627 GB, free: 12.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.45, allocations: 11.94 kB / 0.6627 GB, free: 12.18 MB / 478.1 MB " [Timeout remaining time 643] (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.20893657207489] 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.586324654053897 16.614459925 16.231349803 Calling exit ...