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_Generator.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.001504/0.001504, allocations: 120.4 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.00151/0.00151, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.438/1.438, allocations: 230.5 MB / 254.7 MB, free: 15.01 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_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",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.001913/0.001913, allocations: 67.84 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1015, allocations: 53.32 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2235/0.3251, allocations: 24.86 MB / 451.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.3437, allocations: 7.41 MB / 459.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/0.3499, allocations: 145.8 kB / 459.3 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005638/0.3555, allocations: 1.65 MB / 461 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009777/0.3653, allocations: 2.35 MB / 463.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006016/0.3713, allocations: 1.5 MB / 464.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0138/0.3851, allocations: 7.256 MB / 472.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009932/0.395, allocations: 3.866 MB / 475.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007401/0.4024, allocations: 3.225 MB / 479.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008151/0.4106, allocations: 4.026 MB / 483.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003354/0.4139, allocations: 0.8734 MB / 484.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006496/0.4204, allocations: 1.32 MB / 485.4 MB, free: 6.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004522/0.4249, allocations: 2.146 MB / 487.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009443/0.4344, allocations: 3.792 MB / 491.3 MB, free: 476 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02146/0.4559, allocations: 11.54 MB / 0.4911 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4559, allocations: 0 / 0.4911 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4559, allocations: 0 / 0.4911 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003963/0.4563, allocations: 3.938 kB / 0.4911 GB, free: 4.879 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02374/0.48, allocations: 7.63 MB / 0.4985 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.4801, allocations: 8.031 kB / 0.4985 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002636/0.4827, allocations: 0.7701 MB / 0.4993 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007648/0.4903, allocations: 1.265 MB / 0.5005 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.5016, allocations: 4.196 MB / 0.5046 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005048/0.5021, allocations: 435.9 kB / 0.505 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/0.5041, allocations: 0.5585 MB / 0.5056 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.524, allocations: 7.284 MB / 0.5127 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003409/0.5244, allocations: 15.88 kB / 0.5127 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.526, allocations: 236 kB / 0.5129 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/0.5263, allocations: 259.3 kB / 0.5132 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.5408, allocations: 6.135 MB / 0.5192 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/0.5897, allocations: 23.56 MB / 0.5422 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6, allocations: 8.761 MB / 0.5507 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004766/0.6047, allocations: 2.296 MB / 0.553 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01608/0.6208, allocations: 7.551 MB / 0.5604 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.6209, allocations: 56.56 kB / 0.5604 GB, free: 11.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 4.929e-06/0.6209, allocations: 0 / 0.5604 GB, free: 11.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.03679/0.6577, allocations: 13.9 MB / 0.574 GB, free: 13.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.6577, allocations: 81.59 kB / 0.5741 GB, free: 13.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007345/0.6651, allocations: 3.461 MB / 0.5775 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006885/0.6658, allocations: 73.69 kB / 0.5775 GB, free: 9.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002756/0.6685, allocations: 2.761 MB / 0.5802 GB, free: 7.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.6699, allocations: 1.019 MB / 0.5812 GB, free: 6.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/0.6718, allocations: 0.6453 MB / 0.5818 GB, free: 5.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6719, allocations: 301.1 kB / 0.5821 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.675, allocations: 1.549 MB / 0.5836 GB, free: 3.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/0.6791, allocations: 2.752 MB / 0.5863 GB, free: 340 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007048/0.6862, allocations: 4.606 MB / 0.5908 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-05/0.6862, allocations: 12 kB / 0.5908 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.0108/0.697, allocations: 5.497 MB / 0.5962 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.6971, allocations: 24 kB / 0.5962 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-05/0.6971, allocations: 36 kB / 0.5963 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.6988, allocations: 0.6861 MB / 0.5969 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.7021, allocations: 0.8541 MB / 0.5978 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7146, allocations: 10.5 MB / 0.608 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/0.7182, allocations: 223.6 kB / 0.6082 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006764/0.7189, allocations: 168 kB / 0.6084 GB, free: 8.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004875/0.7238, allocations: 1.625 MB / 0.61 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/0.7258, allocations: 417.3 kB / 0.6104 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.736, allocations: 4.511 MB / 0.6148 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-05/0.7361, allocations: 36 kB / 0.6148 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.491e-05/0.7361, allocations: 8 kB / 0.6148 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/0.7362, allocations: 19.94 kB / 0.6148 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2344/0.9705, allocations: 9.9 MB / 0.6245 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.9705, allocations: 9.484 kB / 0.6245 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/0.9727, allocations: 0.4923 MB / 0.625 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.9746, allocations: 0.7503 MB / 0.6257 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/0.9749, allocations: 72.03 kB / 0.6258 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.9863, allocations: 14.27 MB / 0.6397 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9863, allocations: 5.844 kB / 0.6397 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.9972, allocations: 6.619 MB / 0.6462 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/0.9997, allocations: 0.789 MB / 0.647 GB, free: 141.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008293/1.001, allocations: 64.05 kB / 0.647 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.002, allocations: 169.1 kB / 0.6472 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/1.003, allocations: 210.5 kB / 0.6474 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.003, allocations: 89.48 kB / 0.6475 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003485/1.007, allocations: 2.321 MB / 0.6498 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.007, allocations: 0 / 0.6498 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004404/1.011, allocations: 1.102 MB / 0.6508 GB, free: 140.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 225 * Array equations: 4 * 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 {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009758/1.021, allocations: 7.367 MB / 0.658 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00619/1.027, allocations: 4.533 MB / 0.6625 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.027, allocations: 0 / 0.6625 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.031, allocations: 2.727 MB / 0.6651 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/1.035, allocations: 0.9251 MB / 0.666 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05575/1.09, allocations: 39.27 MB / 0.7044 GB, free: 94.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/1.093, allocations: 3.519 MB / 0.7078 GB, free: 91.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002558/1.096, allocations: 0.8565 MB / 0.7086 GB, free: 90.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/1.098, allocations: 2.275 MB / 0.7109 GB, free: 88.11 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/1.098, allocations: 7.938 kB / 0.7109 GB, free: 88.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.244, allocations: 95.01 MB / 0.8037 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/19.72, allocations: 7.312 kB / 0.8037 GB, free: 9.848 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.49353677313775] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeedE.phi', 'constantSpeedM.phi', 'smeeE.is[1]', 'smeeE.is[2]', 'smeeE.idq_dr[1]', 'smeeE.idq_rr[2]', 'smeeE.idq_sr[1]', 'smeeE.idq_sr[2]', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 19.902155418414623 19.92533782 19.465926386 Calling exit ...