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.001414/0.001414, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001511/0.001511, allocations: 221.1 kB / 22.92 MB, free: 5.535 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.293/1.293, allocations: 230.5 MB / 256.4 MB, free: 8.434 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.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.00175/0.00175, allocations: 67.83 kB / 376.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2163, allocations: 53.32 MB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02567/0.242, allocations: 24.91 MB / 454.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.2564, allocations: 7.424 MB / 461.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.2599, allocations: 143.5 kB / 461.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/0.2638, allocations: 1.649 MB / 463.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.2702, allocations: 2.371 MB / 465.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.2738, allocations: 1.508 MB / 467.4 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008634/0.2824, allocations: 7.264 MB / 474.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.2865, allocations: 3.169 MB / 477.9 MB, free: 6.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.2905, allocations: 3.228 MB / 481.1 MB, free: 3.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005203/0.2957, allocations: 4.024 MB / 485.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.2969, allocations: 0.8711 MB / 486 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.2992, allocations: 1.32 MB / 487.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.301, allocations: 2.146 MB / 489.5 MB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.3049, allocations: 3.792 MB / 493.3 MB, free: 7.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.3195, allocations: 11.55 MB / 0.493 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3195, allocations: 0 / 0.493 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3195, allocations: 0 / 0.493 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002558/0.3197, allocations: 3.938 kB / 0.493 GB, free: 11.69 MB / 414.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.01919/0.3389, allocations: 7.63 MB / 0.5004 GB, free: 3.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.339, allocations: 8.031 kB / 0.5004 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001341/0.3403, allocations: 0.7701 MB / 0.5012 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006015/0.3463, allocations: 1.265 MB / 0.5024 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008831/0.3551, allocations: 4.199 MB / 0.5065 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000406/0.3556, allocations: 427.8 kB / 0.5069 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.357, allocations: 0.5546 MB / 0.5075 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.3698, allocations: 7.288 MB / 0.5146 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.37, allocations: 11.89 kB / 0.5146 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000533/0.3705, allocations: 240 kB / 0.5148 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002795/0.3708, allocations: 259.3 kB / 0.5151 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.3817, allocations: 6.134 MB / 0.5211 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2289/0.6107, allocations: 23.56 MB / 0.5441 GB, free: 83.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/0.6168, allocations: 8.75 MB / 0.5526 GB, free: 77.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.6198, allocations: 2.289 MB / 0.5549 GB, free: 76.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00953/0.6294, allocations: 7.55 MB / 0.5622 GB, free: 72.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.6294, allocations: 59.84 kB / 0.5623 GB, free: 72.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.97e-06/0.6294, allocations: 0 / 0.5623 GB, free: 72.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.02755/0.6569, allocations: 13.9 MB / 0.5759 GB, free: 64.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.657, allocations: 85.3 kB / 0.5759 GB, free: 64.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.6607, allocations: 3.451 MB / 0.5793 GB, free: 61.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.661, allocations: 77.7 kB / 0.5794 GB, free: 61.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.6621, allocations: 2.774 MB / 0.5821 GB, free: 58.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/0.6626, allocations: 1.012 MB / 0.5831 GB, free: 57.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/0.6633, allocations: 0.649 MB / 0.5837 GB, free: 57.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.6634, allocations: 301.1 kB / 0.584 GB, free: 56.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.6653, allocations: 1.545 MB / 0.5855 GB, free: 55.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.6677, allocations: 2.749 MB / 0.5882 GB, free: 52.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/0.6722, allocations: 4.606 MB / 0.5927 GB, free: 46.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.6722, allocations: 12 kB / 0.5927 GB, free: 46.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007132/0.6793, allocations: 5.497 MB / 0.5981 GB, free: 41.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.6793, allocations: 28.09 kB / 0.5981 GB, free: 41.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/0.6794, allocations: 36 kB / 0.5981 GB, free: 41.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.6807, allocations: 0.684 MB / 0.5988 GB, free: 40.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.6833, allocations: 0.8541 MB / 0.5996 GB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007127/0.6904, allocations: 10.5 MB / 0.6099 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.6936, allocations: 223.7 kB / 0.6101 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/0.694, allocations: 167.8 kB / 0.6103 GB, free: 28.34 MB / 446.1 MB 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.002354/0.6963, allocations: 1.63 MB / 0.6119 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008291/0.6972, allocations: 417.3 kB / 0.6123 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006086/0.7032, allocations: 4.503 MB / 0.6167 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/0.7033, allocations: 39.92 kB / 0.6167 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7033, allocations: 12 kB / 0.6167 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.7033, allocations: 11.95 kB / 0.6167 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.7156, allocations: 9.908 MB / 0.6264 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7156, allocations: 11.94 kB / 0.6264 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/0.7175, allocations: 0.4993 MB / 0.6269 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.719, allocations: 0.7534 MB / 0.6276 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.7191, allocations: 71.97 kB / 0.6277 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.7299, allocations: 14.26 MB / 0.6416 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7299, allocations: 8 kB / 0.6416 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.741, allocations: 6.617 MB / 0.6481 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/0.7428, allocations: 0.7914 MB / 0.6489 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/0.7432, allocations: 63.98 kB / 0.6489 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.7451, allocations: 163.8 kB / 0.6491 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004426/0.7455, allocations: 209.8 kB / 0.6493 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.7457, allocations: 87.97 kB / 0.6494 GB, free: 2.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003497/0.7492, allocations: 2.326 MB / 0.6516 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7492, allocations: 0 / 0.6516 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003575/0.7528, allocations: 1.105 MB / 0.6527 GB, free: 15.47 MB / 478.1 MB 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.01108/0.7639, allocations: 7.367 MB / 0.6599 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00779/0.7717, allocations: 4.533 MB / 0.6643 GB, free: 3.207 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.7717, allocations: 8.125 kB / 0.6643 GB, free: 3.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.7762, allocations: 2.718 MB / 0.667 GB, free: 408 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/0.7802, allocations: 0.9254 MB / 0.6679 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06011/0.8403, allocations: 39.32 MB / 0.7063 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/0.844, allocations: 3.511 MB / 0.7097 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002701/0.8467, allocations: 0.8564 MB / 0.7106 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/0.8496, allocations: 2.272 MB / 0.7128 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.8496, allocations: 0 / 0.7128 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.316/1.166, allocations: 95.27 MB / 0.8058 GB, free: 149.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.74, allocations: 13.06 kB / 0.8058 GB, free: 149.4 MB / 0.545 GB " [Timeout remaining time 643] (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 --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: 19.237821066002653]