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.001971/0.001971, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002268/0.002268, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.002237/0.002237, allocations: 64.77 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2904, allocations: 53.38 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0216/0.312, allocations: 17.41 MB / 449.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.3251, allocations: 5.721 MB / 455.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.3288, allocations: 131.2 kB / 455.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004654/0.3334, allocations: 1.317 MB / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.3399, allocations: 1.646 MB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.3437, allocations: 1.128 MB / 459.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009144/0.3529, allocations: 5.229 MB / 464.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004823/0.3577, allocations: 2.313 MB / 466.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004285/0.362, allocations: 2.247 MB / 469.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005282/0.3672, allocations: 2.674 MB / 471.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002325/0.3696, allocations: 0.6133 MB / 472.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.3737, allocations: 0.863 MB / 473.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002412/0.3761, allocations: 1.429 MB / 474.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005527/0.3816, allocations: 2.649 MB / 477.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.3937, allocations: 8.167 MB / 485.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3937, allocations: 0 / 485.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.3937, allocations: 3.984 kB / 485.5 MB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002609/0.394, allocations: 0 / 485.5 MB, free: 1.082 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.01725/0.4112, allocations: 5.453 MB / 490.9 MB, free: 11.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.4113, allocations: 15.97 kB / 491 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002011/0.4133, allocations: 0.6028 MB / 491.6 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/0.4195, allocations: 1.021 MB / 492.6 MB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007763/0.4273, allocations: 2.945 MB / 495.5 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4276, allocations: 308 kB / 495.8 MB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.4291, allocations: 395.9 kB / 496.2 MB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.4422, allocations: 5.221 MB / 0.4897 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.4424, allocations: 11.95 kB / 0.4897 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006931/0.443, allocations: 160 kB / 0.4898 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.4432, allocations: 172 kB / 0.49 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.4538, allocations: 4.47 MB / 0.4944 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03353/0.4873, allocations: 16.36 MB / 0.5103 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/0.4934, allocations: 3.244 MB / 0.5135 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/0.4975, allocations: 1.979 MB / 0.5154 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/0.5073, allocations: 4.615 MB / 0.52 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.567e-05/0.5074, allocations: 47.88 kB / 0.52 GB, free: 1.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.697e-06/0.5074, allocations: 4 kB / 0.52 GB, free: 1.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01385/0.5212, allocations: 5.897 MB / 0.5258 GB, free: 11.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.5213, allocations: 68.72 kB / 0.5258 GB, free: 11.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/0.5255, allocations: 2.319 MB / 0.5281 GB, free: 9.172 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.5258, allocations: 49.7 kB / 0.5281 GB, free: 9.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.5274, allocations: 1.913 MB / 0.53 GB, free: 7.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007087/0.5281, allocations: 0.5811 MB / 0.5306 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/0.5288, allocations: 395.9 kB / 0.531 GB, free: 6.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5289, allocations: 305.1 kB / 0.5312 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.5306, allocations: 0.8591 MB / 0.5321 GB, free: 5.039 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.5329, allocations: 1.575 MB / 0.5336 GB, free: 3.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/0.5369, allocations: 2.586 MB / 0.5361 GB, free: 236 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.537, allocations: 8 kB / 0.5362 GB, free: 228 kB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.232/0.769, allocations: 2.907 MB / 0.539 GB, free: 96.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.769, allocations: 14.97 kB / 0.539 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/0.7691, allocations: 22.84 kB / 0.539 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/0.7696, allocations: 176.7 kB / 0.5392 GB, free: 96.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.7716, allocations: 0.5369 MB / 0.5397 GB, free: 96.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.7737, allocations: 2.327 MB / 0.542 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.7758, allocations: 109.7 kB / 0.5421 GB, free: 94.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/0.7761, allocations: 97 kB / 0.5422 GB, free: 94.79 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.002683/0.7788, allocations: 1.197 MB / 0.5434 GB, free: 94.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006853/0.7795, allocations: 264.5 kB / 0.5436 GB, free: 94.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.784, allocations: 2.36 MB / 0.5459 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.784, allocations: 19.66 kB / 0.5459 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.784, allocations: 3.938 kB / 0.5459 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.784, allocations: 10.5 kB / 0.5459 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009879/0.7939, allocations: 5.727 MB / 0.5515 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.7939, allocations: 2.031 kB / 0.5515 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.7952, allocations: 285.9 kB / 0.5518 GB, free: 90.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008756/0.7961, allocations: 373.2 kB / 0.5522 GB, free: 90.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.7962, allocations: 40.75 kB / 0.5522 GB, free: 90.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.8024, allocations: 7.079 MB / 0.5591 GB, free: 84.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8024, allocations: 0 / 0.5591 GB, free: 84.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.8077, allocations: 3.504 MB / 0.5625 GB, free: 83.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.8089, allocations: 453.1 kB / 0.563 GB, free: 82.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/0.8093, allocations: 35.94 kB / 0.563 GB, free: 82.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.8105, allocations: 79.92 kB / 0.5631 GB, free: 82.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.8108, allocations: 132.9 kB / 0.5632 GB, free: 82.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/0.8109, allocations: 43.98 kB / 0.5633 GB, free: 82.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002252/0.8131, allocations: 1.569 MB / 0.5648 GB, free: 80.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8131, allocations: 0 / 0.5648 GB, free: 80.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002637/0.8158, allocations: 0.6759 MB / 0.5654 GB, free: 80.15 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.005181/0.8209, allocations: 4.145 MB / 0.5695 GB, free: 75.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003287/0.8242, allocations: 2.154 MB / 0.5716 GB, free: 73.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8242, allocations: 0 / 0.5716 GB, free: 73.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.8261, allocations: 1.415 MB / 0.573 GB, free: 72.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.8289, allocations: 0.6112 MB / 0.5736 GB, free: 71.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03494/0.8638, allocations: 24.32 MB / 0.5973 GB, free: 46.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/0.866, allocations: 2.67 MB / 0.5999 GB, free: 43.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001792/0.8678, allocations: 0.5552 MB / 0.6005 GB, free: 43.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/0.8695, allocations: 1.483 MB / 0.6019 GB, free: 41.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.8695, allocations: 0 / 0.6019 GB, free: 41.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.9836, allocations: 62.21 MB / 0.6627 GB, free: 12.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.76, allocations: 5.953 kB / 0.6627 GB, free: 12.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.462502595968544] 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.8936837031506 16.908971385 16.511555866 Calling exit ...