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.001034/0.001034, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005252/0.005252, allocations: 170 kB / 16.26 MB, free: 6.613 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.35/1.35, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004313/0.0004313, allocations: 8.422 kB / 279.5 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2005, allocations: 47.57 MB / 327.1 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03678/0.2373, allocations: 38.98 MB / 366 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.2569, allocations: 10.87 MB / 376.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005858/0.2628, allocations: 239.2 kB / 377.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006002/0.2688, allocations: 2.193 MB / 379.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.2814, allocations: 3.277 MB / 382.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009656/0.291, allocations: 1.919 MB / 384.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02422/0.3153, allocations: 12.71 MB / 397.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05338/0.3687, allocations: 22.23 MB / 419.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009641/0.3784, allocations: 4.553 MB / 424 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.3909, allocations: 5.636 MB / 429.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002699/0.3936, allocations: 0.7188 MB / 430.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.3976, allocations: 1.132 MB / 431.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002973/0.4006, allocations: 2.37 MB / 433.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009211/0.4098, allocations: 5.723 MB / 439.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3913/0.8011, allocations: 22.68 MB / 462.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.8012, allocations: 1.656 kB / 462.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8012, allocations: 0 / 462.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006154/0.8018, allocations: 0.5312 kB / 462.3 MB, free: 38.75 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.0352/0.837, allocations: 12.05 MB / 474.3 MB, free: 35.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.8371, allocations: 6.312 kB / 474.3 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03452/0.8716, allocations: 6.176 MB / 480.5 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.8879, allocations: 7 MB / 487.5 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008589/0.8888, allocations: 0.8518 MB / 488.4 MB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004452/0.8933, allocations: 1.116 MB / 489.5 MB, free: 30.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03938/0.9326, allocations: 17.2 MB / 0.4948 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000485/0.9332, allocations: 11.91 kB / 0.4948 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003657/0.9368, allocations: 470.9 kB / 0.4953 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004889/0.9373, allocations: 0.613 MB / 0.4959 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03172/0.9691, allocations: 15.61 MB / 0.5111 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09833/1.067, allocations: 58.81 MB / 0.5685 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02102/1.089, allocations: 20.94 MB / 0.589 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006123/1.095, allocations: 3.398 MB / 0.5923 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01662/1.111, allocations: 9.712 MB / 0.6018 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/1.111, allocations: 65.56 kB / 0.6019 GB, free: 4.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 6.171e-06/1.111, allocations: 0 / 0.6019 GB, free: 4.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=346): time 0.0343/1.146, allocations: 17.09 MB / 0.6185 GB, free: 3.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/1.146, allocations: 116.1 kB / 0.6187 GB, free: 3.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1985/1.344, allocations: 5.411 MB / 0.6239 GB, free: 191.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000575/1.345, allocations: 81.45 kB / 0.624 GB, free: 191.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/1.348, allocations: 5.337 MB / 0.6292 GB, free: 189 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.349, allocations: 1.226 MB / 0.6304 GB, free: 188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006616/1.35, allocations: 0.5268 MB / 0.6309 GB, free: 187.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/1.35, allocations: 304.9 kB / 0.6312 GB, free: 187.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/1.354, allocations: 2.812 MB / 0.634 GB, free: 186.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00491/1.359, allocations: 5.871 MB / 0.6397 GB, free: 181.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009457/1.368, allocations: 9.095 MB / 0.6486 GB, free: 174.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/1.368, allocations: 33.53 kB / 0.6486 GB, free: 174.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01529/1.384, allocations: 9.827 MB / 0.6582 GB, free: 170.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/1.384, allocations: 50.03 kB / 0.6583 GB, free: 170.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/1.384, allocations: 99.88 kB / 0.6584 GB, free: 170.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/1.386, allocations: 0.9332 MB / 0.6593 GB, free: 170.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005063/1.391, allocations: 1.596 MB / 0.6608 GB, free: 170.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00994/1.401, allocations: 9.794 MB / 0.6704 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/1.407, allocations: 438.8 kB / 0.6708 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008631/1.408, allocations: 365.9 kB / 0.6712 GB, free: 161 MB / 494.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 (821): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005685/1.414, allocations: 3.836 MB / 0.6749 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.415, allocations: 0.517 MB / 0.6754 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009332/1.424, allocations: 6.037 MB / 0.6813 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00423/1.428, allocations: 3.143 MB / 0.6844 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.143e-05/1.428, allocations: 12 kB / 0.6844 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/1.428, allocations: 15.94 kB / 0.6844 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.451, allocations: 14.9 MB / 0.699 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.451, allocations: 4 kB / 0.699 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.454, allocations: 0.6047 MB / 0.6996 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/1.456, allocations: 0.9121 MB / 0.7004 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.456, allocations: 81.83 kB / 0.7005 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.468, allocations: 12.91 MB / 0.7131 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.468, allocations: 7.938 kB / 0.7131 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.48, allocations: 8.737 MB / 0.7217 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/1.483, allocations: 1.041 MB / 0.7227 GB, free: 109.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.484, allocations: 67.98 kB / 0.7228 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.487, allocations: 219.8 kB / 0.723 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/1.487, allocations: 258.4 kB / 0.7232 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.487, allocations: 101.4 kB / 0.7233 GB, free: 109.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004763/1.492, allocations: 3.591 MB / 0.7268 GB, free: 105.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.492, allocations: 0 / 0.7268 GB, free: 105.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006864/1.499, allocations: 1.834 MB / 0.7286 GB, free: 103.8 MB / 494.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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006405/1.5, allocations: 269.1 kB / 0.7289 GB, free: 103.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009703/1.51, allocations: 7.228 MB / 0.7359 GB, free: 96.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.51, allocations: 8.781 kB / 0.7359 GB, free: 96.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004834/1.514, allocations: 3.473 MB / 0.7393 GB, free: 92.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008917/1.523, allocations: 1.128 MB / 0.7404 GB, free: 91.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.552, allocations: 23.37 MB / 0.7632 GB, free: 68.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006452/1.559, allocations: 6.661 MB / 0.7697 GB, free: 61.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005903/1.564, allocations: 1.937 MB / 0.7716 GB, free: 59.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.566, allocations: 387.4 kB / 0.772 GB, free: 59.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/1.566, allocations: 0 / 0.772 GB, free: 59.16 MB / 494.1 MB Notification: Performance of Templates: time 0.3034/1.869, allocations: 71.4 MB / 0.8417 GB, free: 155.8 MB / 494.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)