Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 93.45 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 182.2 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005096, allocations: 12 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08997, allocations: 47.57 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03555/0.1256, allocations: 33.02 MB / 360.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.1484, allocations: 10.71 MB / 371.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007129/0.1556, allocations: 243.1 kB / 371.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008396/0.164, allocations: 2.118 MB / 373.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.1783, allocations: 3.751 MB / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007308/0.1856, allocations: 1.723 MB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1773/0.3629, allocations: 9.874 MB / 389.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0295/0.3924, allocations: 18.11 MB / 407.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00973/0.4022, allocations: 4.338 MB / 411.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008446/0.4107, allocations: 4.954 MB / 416.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.413, allocations: 0.7109 MB / 417.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.4175, allocations: 1.046 MB / 418.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.4196, allocations: 2.257 MB / 420.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.4232, allocations: 2.405 MB / 423 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.4418, allocations: 20.15 MB / 443.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4418, allocations: 0 / 443.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4419, allocations: 0 / 443.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005261/0.4424, allocations: 0 / 443.1 MB, free: 2.129 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.03244/0.4748, allocations: 12.12 MB / 455.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4749, allocations: 8.031 kB / 455.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03381/0.5087, allocations: 6.067 MB / 461.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.5252, allocations: 6.886 MB / 468.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009879/0.5262, allocations: 0.8531 MB / 469.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004032/0.5303, allocations: 1.112 MB / 470.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04198/0.5723, allocations: 17.03 MB / 487.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005577/0.5729, allocations: 15.8 kB / 487.2 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00373/0.5766, allocations: 467.5 kB / 487.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008025/0.5775, allocations: 0.6167 MB / 488.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/0.611, allocations: 15.53 MB / 0.492 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.445/1.056, allocations: 58.73 MB / 0.5494 GB, free: 100.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.072, allocations: 20.89 MB / 0.5698 GB, free: 84.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01573/1.088, allocations: 9.842 MB / 0.5794 GB, free: 82.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.088, allocations: 73.77 kB / 0.5795 GB, free: 81.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=333): time 5.36e-06/1.088, allocations: 3.812 kB / 0.5795 GB, free: 81.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=360): time 0.02935/1.117, allocations: 17.63 MB / 0.5967 GB, free: 72.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/1.117, allocations: 118.2 kB / 0.5968 GB, free: 72.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006222/1.124, allocations: 5.342 MB / 0.602 GB, free: 69.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004495/1.124, allocations: 83.83 kB / 0.6021 GB, free: 69.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/1.126, allocations: 5.32 MB / 0.6073 GB, free: 64.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009647/1.127, allocations: 1.269 MB / 0.6085 GB, free: 63.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/1.128, allocations: 139.6 kB / 0.6086 GB, free: 63.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/1.128, allocations: 0.5767 MB / 0.6092 GB, free: 62.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003801/1.132, allocations: 2.84 MB / 0.612 GB, free: 61.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/1.136, allocations: 5.848 MB / 0.6177 GB, free: 55.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/1.141, allocations: 4.094 MB / 0.6217 GB, free: 53.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.789e-05/1.141, allocations: 30.44 kB / 0.6217 GB, free: 53.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01339/1.154, allocations: 9.869 MB / 0.6314 GB, free: 43.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/1.154, allocations: 53.3 kB / 0.6314 GB, free: 43.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/1.155, allocations: 104 kB / 0.6315 GB, free: 43.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/1.157, allocations: 0.9438 MB / 0.6324 GB, free: 42.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005191/1.162, allocations: 1.607 MB / 0.634 GB, free: 40.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.173, allocations: 9.956 MB / 0.6437 GB, free: 30.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009039/1.182, allocations: 442.9 kB / 0.6441 GB, free: 30.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.183, allocations: 364 kB / 0.6445 GB, free: 29.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (831): * Single equations (assignments): 823 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008831/1.192, allocations: 3.838 MB / 0.6482 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/1.194, allocations: 0.5209 MB / 0.6487 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.209, allocations: 6.172 MB / 0.6548 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007238/1.216, allocations: 3.209 MB / 0.6579 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-05/1.216, allocations: 12 kB / 0.6579 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-05/1.216, allocations: 15.94 kB / 0.6579 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03792/1.254, allocations: 15.13 MB / 0.6727 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.254, allocations: 4 kB / 0.6727 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004261/1.259, allocations: 0.6401 MB / 0.6733 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003859/1.263, allocations: 0.9018 MB / 0.6742 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/1.263, allocations: 83.97 kB / 0.6743 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/1.285, allocations: 13.08 MB / 0.6871 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.285, allocations: 8.062 kB / 0.6871 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/1.302, allocations: 9.719 MB / 0.6966 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/1.305, allocations: 1.053 MB / 0.6976 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/1.307, allocations: 71.98 kB / 0.6977 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/1.31, allocations: 215.8 kB / 0.6979 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000701/1.311, allocations: 258.5 kB / 0.6981 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/1.311, allocations: 108 kB / 0.6982 GB, free: 5.543 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007074/1.319, allocations: 3.52 MB / 0.7017 GB, free: 2.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.319, allocations: 0 / 0.7017 GB, free: 2.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00817/1.327, allocations: 1.837 MB / 0.7035 GB, free: 216 kB / 462.1 MB 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 (315): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(3,77.8%) 4,(8,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1678/1.495, allocations: 269.7 kB / 0.7037 GB, free: 145.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0139/1.508, allocations: 7.312 MB / 0.7109 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.509, allocations: 1.125 kB / 0.7109 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006159/1.515, allocations: 3.54 MB / 0.7143 GB, free: 144 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/1.52, allocations: 1.087 MB / 0.7154 GB, free: 144 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/1.549, allocations: 22.18 MB / 0.737 GB, free: 132.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006038/1.555, allocations: 6.849 MB / 0.7437 GB, free: 129.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006021/1.561, allocations: 1.952 MB / 0.7456 GB, free: 129.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.563, allocations: 392.2 kB / 0.746 GB, free: 129.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/1.563, allocations: 0 / 0.746 GB, free: 129.7 MB / 462.1 MB Notification: Performance of Templates: time 0.1053/1.668, allocations: 69.87 MB / 0.8142 GB, free: 63.52 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) Environment - environmentSimulation: