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.0008784/0.0008784, allocations: 94.56 kB / 16.32 MB, free: 5.559 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.0009515/0.0009514, allocations: 181.4 kB / 17.21 MB, free: 5.48 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.334/1.334, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004719/0.000472, allocations: 8 kB / 280.2 MB, free: 3.695 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09137, allocations: 47.58 MB / 327.7 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03768/0.1291, allocations: 36.12 MB / 363.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.1515, allocations: 10.3 MB / 374.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008146/0.1597, allocations: 243.1 kB / 374.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007365/0.1671, allocations: 1.744 MB / 376.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.1776, allocations: 2.992 MB / 379.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.169/0.3466, allocations: 1.443 MB / 380.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01837/0.365, allocations: 13.57 MB / 394.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03143/0.3965, allocations: 18.28 MB / 412.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008498/0.405, allocations: 4.604 MB / 417 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008318/0.4134, allocations: 5.396 MB / 422.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.4162, allocations: 0.7148 MB / 423.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005643/0.4218, allocations: 1.101 MB / 424.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003879/0.4257, allocations: 2.326 MB / 426.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005715/0.4315, allocations: 2.406 MB / 429 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0243/0.4558, allocations: 20.21 MB / 449.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4559, allocations: 4 kB / 449.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4559, allocations: 0 / 449.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006604/0.4565, allocations: 0 / 449.2 MB, free: 12.14 MB / 350.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.03352/0.4901, allocations: 12.17 MB / 461.4 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.4901, allocations: 8.031 kB / 461.4 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03516/0.5253, allocations: 6.174 MB / 467.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/0.5437, allocations: 6.879 MB / 474.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/0.545, allocations: 0.8516 MB / 475.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004547/0.5495, allocations: 1.12 MB / 476.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04901/0.5986, allocations: 17.11 MB / 493.5 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005146/0.5991, allocations: 15.84 kB / 493.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003624/0.6028, allocations: 472.5 kB / 494 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007377/0.6035, allocations: 0.6052 MB / 494.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03746/0.641, allocations: 15.53 MB / 0.4982 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4238/1.065, allocations: 58.75 MB / 0.5555 GB, free: 97.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/1.081, allocations: 20.91 MB / 0.576 GB, free: 81.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006137/1.087, allocations: 3.405 MB / 0.5793 GB, free: 80.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/1.105, allocations: 9.701 MB / 0.5888 GB, free: 74.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/1.105, allocations: 65.12 kB / 0.5888 GB, free: 74.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=319): time 5.591e-06/1.105, allocations: 4 kB / 0.5888 GB, free: 74.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=346): time 0.03565/1.14, allocations: 17.79 MB / 0.6062 GB, free: 63.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/1.141, allocations: 112.8 kB / 0.6063 GB, free: 63.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009379/1.15, allocations: 5.379 MB / 0.6116 GB, free: 60.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006152/1.151, allocations: 82.2 kB / 0.6116 GB, free: 60.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.154, allocations: 5.334 MB / 0.6169 GB, free: 56.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.155, allocations: 1.228 MB / 0.6181 GB, free: 55.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000913/1.156, allocations: 136.6 kB / 0.6182 GB, free: 54.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005003/1.156, allocations: 0.5766 MB / 0.6187 GB, free: 54.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004473/1.161, allocations: 2.786 MB / 0.6215 GB, free: 52.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005652/1.167, allocations: 5.837 MB / 0.6272 GB, free: 44.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/1.173, allocations: 4.045 MB / 0.6311 GB, free: 40.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-05/1.173, allocations: 31.94 kB / 0.6311 GB, free: 40.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01742/1.191, allocations: 9.765 MB / 0.6407 GB, free: 31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/1.191, allocations: 48 kB / 0.6407 GB, free: 30.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.191, allocations: 104 kB / 0.6408 GB, free: 30.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/1.193, allocations: 0.9518 MB / 0.6418 GB, free: 29.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/1.198, allocations: 1.591 MB / 0.6433 GB, free: 28.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009744/1.208, allocations: 9.768 MB / 0.6528 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006045/1.214, allocations: 451.2 kB / 0.6533 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009116/1.215, allocations: 360 kB / 0.6536 GB, free: 17.34 MB / 430.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 (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.006323/1.221, allocations: 3.833 MB / 0.6574 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.223, allocations: 0.517 MB / 0.6579 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.233, allocations: 6.027 MB / 0.6638 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004343/1.237, allocations: 3.119 MB / 0.6668 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/1.237, allocations: 19.89 kB / 0.6668 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.599e-05/1.237, allocations: 15.94 kB / 0.6668 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02804/1.265, allocations: 14.86 MB / 0.6813 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.265, allocations: 4 kB / 0.6813 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.268, allocations: 0.6085 MB / 0.6819 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/1.27, allocations: 0.9186 MB / 0.6828 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003533/1.271, allocations: 79.98 kB / 0.6829 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.286, allocations: 12.89 MB / 0.6955 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.286, allocations: 15.95 kB / 0.6955 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.208/1.494, allocations: 8.698 MB / 0.704 GB, free: 139.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/1.497, allocations: 1.034 MB / 0.705 GB, free: 139 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.498, allocations: 71.03 kB / 0.7051 GB, free: 139 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.501, allocations: 223.5 kB / 0.7053 GB, free: 139 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005585/1.501, allocations: 257 kB / 0.7055 GB, free: 139 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.501, allocations: 101.7 kB / 0.7056 GB, free: 139 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006348/1.508, allocations: 3.543 MB / 0.7091 GB, free: 138.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.508, allocations: 0 / 0.7091 GB, free: 138.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007535/1.515, allocations: 1.837 MB / 0.7109 GB, free: 138.8 MB / 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 (301): * Single equations (assignments): 292 * 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,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007014/1.516, allocations: 265.9 kB / 0.7112 GB, free: 138.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01121/1.527, allocations: 7.196 MB / 0.7182 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.527, allocations: 3.938 kB / 0.7182 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005216/1.532, allocations: 3.457 MB / 0.7216 GB, free: 134.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006325/1.539, allocations: 1.152 MB / 0.7227 GB, free: 134.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/1.571, allocations: 22.25 MB / 0.7444 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006351/1.577, allocations: 6.665 MB / 0.7509 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005765/1.583, allocations: 1.933 MB / 0.7528 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.584, allocations: 388.8 kB / 0.7532 GB, free: 119.4 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/1.584, allocations: 0 / 0.7532 GB, free: 119.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1062/1.69, allocations: 69.9 MB / 0.8214 GB, free: 51.14 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (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)