Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001572/0.001572, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.543 MB / 174.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.001173/0.001173, allocations: 55.92 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1988, allocations: 46.62 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03948/0.2383, allocations: 41.26 MB / 366.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.2597, allocations: 11.09 MB / 377.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006966/0.2667, allocations: 255.2 kB / 377.9 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01793/0.2847, allocations: 7.893 MB / 385.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.2986, allocations: 3.662 MB / 389.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007269/0.3059, allocations: 2.307 MB / 391.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.3218, allocations: 12.57 MB / 404.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03887/0.3607, allocations: 23.67 MB / 428 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.3714, allocations: 6.412 MB / 434.4 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.3833, allocations: 7.295 MB / 441.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005036/0.3884, allocations: 1.844 MB / 443.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006604/0.395, allocations: 2.261 MB / 445.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005395/0.4004, allocations: 3.717 MB / 449.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1834/0.5839, allocations: 7.189 MB / 456.8 MB, free: 42.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02374/0.6076, allocations: 24.03 MB / 480.8 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6077, allocations: 0 / 480.8 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6077, allocations: 0 / 480.8 MB, free: 38.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005573/0.6082, allocations: 0 / 480.8 MB, free: 38.59 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04128/0.6495, allocations: 14.47 MB / 495.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.6496, allocations: 10.84 kB / 495.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03417/0.6838, allocations: 6.142 MB / 0.4897 GB, free: 29.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.698, allocations: 7.056 MB / 0.4965 GB, free: 26.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/0.6986, allocations: 0.8504 MB / 0.4974 GB, free: 26.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004117/0.7027, allocations: 1.115 MB / 0.4985 GB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0422/0.7449, allocations: 17.16 MB / 0.5152 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/0.7454, allocations: 19.28 kB / 0.5152 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002802/0.7482, allocations: 473.8 kB / 0.5157 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004347/0.7486, allocations: 0.6052 MB / 0.5163 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/0.7786, allocations: 15.55 MB / 0.5315 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/0.8818, allocations: 58.57 MB / 0.5887 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/0.9031, allocations: 20.87 MB / 0.6091 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006259/0.9094, allocations: 3.327 MB / 0.6123 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1916/1.101, allocations: 9.554 MB / 0.6216 GB, free: 174.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.101, allocations: 70.81 kB / 0.6217 GB, free: 174.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=313): time 5.3e-06/1.101, allocations: 0 / 0.6217 GB, free: 174.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.03368/1.135, allocations: 16.78 MB / 0.6381 GB, free: 167.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.135, allocations: 111.6 kB / 0.6382 GB, free: 167.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007527/1.142, allocations: 5.406 MB / 0.6435 GB, free: 165.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006038/1.143, allocations: 85.42 kB / 0.6435 GB, free: 165.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002355/1.145, allocations: 5.343 MB / 0.6488 GB, free: 161.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.147, allocations: 1.206 MB / 0.6499 GB, free: 160.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/1.148, allocations: 1.344 MB / 0.6513 GB, free: 159.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/1.148, allocations: 305.1 kB / 0.6515 GB, free: 159.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/1.152, allocations: 2.747 MB / 0.6542 GB, free: 157.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/1.157, allocations: 5.802 MB / 0.6599 GB, free: 151.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0086/1.165, allocations: 8.963 MB / 0.6686 GB, free: 141.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.388e-05/1.165, allocations: 28 kB / 0.6687 GB, free: 141.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01466/1.18, allocations: 9.676 MB / 0.6781 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/1.18, allocations: 52 kB / 0.6782 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/1.18, allocations: 100 kB / 0.6783 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/1.182, allocations: 0.9421 MB / 0.6792 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.188, allocations: 1.581 MB / 0.6807 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009806/1.198, allocations: 10.54 MB / 0.691 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/1.203, allocations: 439.1 kB / 0.6914 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008288/1.204, allocations: 361.3 kB / 0.6918 GB, free: 119.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 (818): * Single equations (assignments): 813 * 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.005629/1.21, allocations: 3.825 MB / 0.6955 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.211, allocations: 0.5209 MB / 0.696 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008669/1.22, allocations: 5.897 MB / 0.7018 GB, free: 109.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00395/1.224, allocations: 3.045 MB / 0.7048 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/1.224, allocations: 12 kB / 0.7048 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/1.224, allocations: 15.94 kB / 0.7048 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02092/1.245, allocations: 14.69 MB / 0.7191 GB, free: 91.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.245, allocations: 11.98 kB / 0.7192 GB, free: 91.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.247, allocations: 0.6006 MB / 0.7197 GB, free: 90.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/1.249, allocations: 0.9019 MB / 0.7206 GB, free: 89.94 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/1.25, allocations: 79.97 kB / 0.7207 GB, free: 89.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.261, allocations: 14.02 MB / 0.7344 GB, free: 75.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.261, allocations: 8 kB / 0.7344 GB, free: 75.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.273, allocations: 8.505 MB / 0.7427 GB, free: 66.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/1.275, allocations: 0.9905 MB / 0.7437 GB, free: 65.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.276, allocations: 63.98 kB / 0.7437 GB, free: 65.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.279, allocations: 210.8 kB / 0.7439 GB, free: 65.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/1.28, allocations: 258.4 kB / 0.7442 GB, free: 64.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/1.28, allocations: 104 kB / 0.7443 GB, free: 64.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005329/1.285, allocations: 3.575 MB / 0.7478 GB, free: 61.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.285, allocations: 0 / 0.7478 GB, free: 61.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009304/1.295, allocations: 1.83 MB / 0.7496 GB, free: 59.44 MB / 478.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 (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.0008276/1.296, allocations: 268 kB / 0.7498 GB, free: 59.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01667/1.312, allocations: 8.949 MB / 0.7586 GB, free: 50.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/1.312, allocations: 4.875 kB / 0.7586 GB, free: 50.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005325/1.318, allocations: 3.389 MB / 0.7619 GB, free: 46.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.323, allocations: 1.171 MB / 0.763 GB, free: 45.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/1.351, allocations: 18.52 MB / 0.7811 GB, free: 26.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007174/1.358, allocations: 6.661 MB / 0.7876 GB, free: 20.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005941/1.364, allocations: 1.937 MB / 0.7895 GB, free: 18.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.366, allocations: 387.4 kB / 0.7899 GB, free: 17.97 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/1.366, allocations: 0 / 0.7899 GB, free: 17.97 MB / 478.1 MB Notification: Performance of Templates: time 0.2699/1.636, allocations: 74.14 MB / 0.8623 GB, free: 113.7 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)