Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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.001421/0.001421, allocations: 109.5 kB / 19.75 MB, free: 2.562 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.00156/0.00156, allocations: 217.6 kB / 22.92 MB, free: 5.543 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.27/1.27, allocations: 230.5 MB / 256.4 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 179] 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_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.001734/0.001734, allocations: 63.89 kB / 376.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2019, allocations: 53.32 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.0428/0.2447, allocations: 42.02 MB / 471.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.2664, allocations: 11.44 MB / 482.9 MB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/0.2725, allocations: 299.1 kB / 483.2 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.2894, allocations: 7.992 MB / 491.2 MB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.3, allocations: 3.669 MB / 494.9 MB, free: 5.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006971/0.307, allocations: 2.35 MB / 497.2 MB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01681/0.3238, allocations: 12.55 MB / 0.4978 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02367/0.3474, allocations: 14.72 MB / 0.5122 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008103/0.3555, allocations: 6.393 MB / 0.5184 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009951/0.3655, allocations: 7.346 MB / 0.5256 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002993/0.3685, allocations: 1.828 MB / 0.5274 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.3729, allocations: 2.265 MB / 0.5296 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003286/0.3762, allocations: 3.655 MB / 0.5332 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1972/0.5733, allocations: 7.091 MB / 0.5401 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.5945, allocations: 24.12 MB / 0.5636 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5945, allocations: 0.9062 kB / 0.5636 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5945, allocations: 0 / 0.5636 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000631/0.5951, allocations: 0 / 0.5636 GB, free: 24.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03674/0.6318, allocations: 14.52 MB / 0.5778 GB, free: 17.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.6319, allocations: 13.09 kB / 0.5778 GB, free: 17.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003995/0.6359, allocations: 1.738 MB / 0.5795 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02525/0.6611, allocations: 5.228 MB / 0.5846 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.6744, allocations: 7.762 MB / 0.5922 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004491/0.6748, allocations: 0.8355 MB / 0.593 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003194/0.678, allocations: 1.085 MB / 0.5941 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/0.7105, allocations: 16.63 MB / 0.6103 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000315/0.7108, allocations: 27.89 kB / 0.6104 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002266/0.7131, allocations: 456 kB / 0.6108 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000556/0.7136, allocations: 0.5734 MB / 0.6114 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02861/0.7422, allocations: 14.79 MB / 0.6258 GB, free: 8.16 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08919/0.8314, allocations: 57.38 MB / 0.6818 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/0.8523, allocations: 20.8 MB / 0.7022 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005512/0.8579, allocations: 3.045 MB / 0.7051 GB, free: 3.266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/0.8738, allocations: 10 MB / 0.7149 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.8738, allocations: 69.55 kB / 0.715 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=313): time 5.059e-06/0.8738, allocations: 7.406 kB / 0.715 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=340): time 0.03274/0.9066, allocations: 16.94 MB / 0.7315 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.9066, allocations: 120.4 kB / 0.7316 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00776/0.9144, allocations: 5.183 MB / 0.7367 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000502/0.9149, allocations: 81.7 kB / 0.7368 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003638/0.9185, allocations: 5.36 MB / 0.742 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.9198, allocations: 1.25 MB / 0.7432 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/0.9216, allocations: 1.271 MB / 0.7445 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9217, allocations: 305.1 kB / 0.7448 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/0.926, allocations: 2.636 MB / 0.7473 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006303/0.9323, allocations: 5.447 MB / 0.7526 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1997/1.132, allocations: 8.518 MB / 0.761 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-05/1.132, allocations: 26.81 kB / 0.761 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01302/1.145, allocations: 9.244 MB / 0.77 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/1.145, allocations: 44.56 kB / 0.7701 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.995e-05/1.145, allocations: 95.75 kB / 0.7702 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/1.147, allocations: 0.9092 MB / 0.771 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/1.151, allocations: 1.481 MB / 0.7725 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008884/1.16, allocations: 10.53 MB / 0.7828 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/1.165, allocations: 402.3 kB / 0.7831 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/1.165, allocations: 339.3 kB / 0.7835 GB, free: 205.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * 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 (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004515/1.17, allocations: 3.747 MB / 0.7871 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007747/1.17, allocations: 0.5354 MB / 0.7877 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/1.178, allocations: 5.839 MB / 0.7934 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003767/1.182, allocations: 3.041 MB / 0.7963 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.182, allocations: 15.31 kB / 0.7963 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/1.182, allocations: 17.91 kB / 0.7964 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/1.2, allocations: 14.58 MB / 0.8106 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.2, allocations: 7.938 kB / 0.8106 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.203, allocations: 0.6025 MB / 0.8112 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/1.205, allocations: 0.8946 MB / 0.8121 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/1.205, allocations: 83.06 kB / 0.8121 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.215, allocations: 14.01 MB / 0.8258 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.215, allocations: 12.03 kB / 0.8258 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.225, allocations: 8.513 MB / 0.8342 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.227, allocations: 0.9981 MB / 0.8351 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005682/1.228, allocations: 68 kB / 0.8352 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.23, allocations: 195.7 kB / 0.8354 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/1.23, allocations: 262.4 kB / 0.8356 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.23, allocations: 112 kB / 0.8357 GB, free: 164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003767/1.234, allocations: 3.439 MB / 0.8391 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.234, allocations: 1.969 kB / 0.8391 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005076/1.239, allocations: 1.775 MB / 0.8408 GB, free: 158.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009871/1.249, allocations: 9.234 MB / 0.8499 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0084/1.257, allocations: 6.611 MB / 0.8563 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.257, allocations: 0 / 0.8563 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0042/1.262, allocations: 3.194 MB / 0.8594 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/1.266, allocations: 1.187 MB / 0.8606 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06814/1.334, allocations: 61.58 MB / 0.9207 GB, free: 72.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.339, allocations: 6.564 MB / 0.9271 GB, free: 66.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004051/1.344, allocations: 1.838 MB / 0.9289 GB, free: 64.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004111/1.348, allocations: 4.057 MB / 0.9329 GB, free: 60.43 MB / 0.5919 GB Notification: Performance of SimCode: time 1.372e-06/1.348, allocations: 0 / 0.9329 GB, free: 60.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/1.697, allocations: 141.6 MB / 1.071 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.66/20.36, allocations: 15.33 kB / 1.071 GB, free: 159.5 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.954936674002965]