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.001169/0.001169, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.001359/0.001359, allocations: 182 kB / 17.56 MB, free: 6.203 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.34/1.34, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0004311/0.0004311, allocations: 16 kB / 280.8 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08549, allocations: 47.58 MB / 328.3 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03891/0.1244, allocations: 38.98 MB / 367.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.1463, allocations: 10.87 MB / 378.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007358/0.1537, allocations: 243.2 kB / 378.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1754/0.3291, allocations: 2.178 MB / 380.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.3431, allocations: 3.274 MB / 383.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006851/0.35, allocations: 1.938 MB / 385.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0192/0.3692, allocations: 12.7 MB / 398.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03708/0.4063, allocations: 22.24 MB / 420.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009579/0.416, allocations: 4.543 MB / 425.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.4266, allocations: 5.638 MB / 430.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002808/0.4295, allocations: 0.7188 MB / 431.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006224/0.4357, allocations: 1.126 MB / 432.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004374/0.4401, allocations: 2.375 MB / 435.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01266/0.4528, allocations: 5.726 MB / 440.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02913/0.482, allocations: 22.68 MB / 463.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.482, allocations: 0 / 463.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.482, allocations: 0 / 463.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006956/0.4827, allocations: 0 / 463.6 MB, free: 5.43 MB / 366.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.03492/0.5177, allocations: 12.05 MB / 475.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5177, allocations: 16.03 kB / 475.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03473/0.5525, allocations: 6.165 MB / 481.8 MB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.567, allocations: 7.01 MB / 488.8 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008775/0.5679, allocations: 0.8518 MB / 489.7 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003985/0.5719, allocations: 1.104 MB / 490.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03874/0.6107, allocations: 17.21 MB / 0.4961 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/0.611, allocations: 23.73 kB / 0.4961 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/0.6127, allocations: 469.5 kB / 0.4965 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005598/0.6133, allocations: 0.6091 MB / 0.4971 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03061/0.6439, allocations: 15.62 MB / 0.5124 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3888/1.033, allocations: 58.8 MB / 0.5698 GB, free: 114.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/1.049, allocations: 20.94 MB / 0.5902 GB, free: 95.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004784/1.053, allocations: 3.408 MB / 0.5936 GB, free: 93.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/1.067, allocations: 9.709 MB / 0.6031 GB, free: 86.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.067, allocations: 64.62 kB / 0.6031 GB, free: 86.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 4.999e-06/1.067, allocations: 0 / 0.6031 GB, free: 86.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=346): time 0.02997/1.097, allocations: 17.1 MB / 0.6198 GB, free: 76.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.097, allocations: 119.9 kB / 0.6199 GB, free: 76.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006338/1.104, allocations: 5.419 MB / 0.6252 GB, free: 71.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004412/1.104, allocations: 81.7 kB / 0.6253 GB, free: 71.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.106, allocations: 5.323 MB / 0.6305 GB, free: 66.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008201/1.107, allocations: 1.219 MB / 0.6317 GB, free: 65.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005525/1.107, allocations: 0.5244 MB / 0.6322 GB, free: 64.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/1.108, allocations: 305.1 kB / 0.6325 GB, free: 64.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.111, allocations: 2.816 MB / 0.6352 GB, free: 61.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.116, allocations: 5.869 MB / 0.641 GB, free: 54.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/1.124, allocations: 9.1 MB / 0.6499 GB, free: 43.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-05/1.124, allocations: 32 kB / 0.6499 GB, free: 43.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01342/1.138, allocations: 9.827 MB / 0.6595 GB, free: 33.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/1.138, allocations: 48.5 kB / 0.6595 GB, free: 33.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.943e-05/1.138, allocations: 104 kB / 0.6596 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/1.14, allocations: 0.9399 MB / 0.6605 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/1.144, allocations: 1.587 MB / 0.6621 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009445/1.154, allocations: 9.788 MB / 0.6717 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/1.159, allocations: 443.1 kB / 0.6721 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/1.16, allocations: 367.9 kB / 0.6724 GB, free: 19.92 MB / 446.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.005495/1.165, allocations: 3.837 MB / 0.6762 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009164/1.166, allocations: 0.517 MB / 0.6767 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/1.175, allocations: 6.035 MB / 0.6826 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00409/1.179, allocations: 3.139 MB / 0.6856 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/1.179, allocations: 12 kB / 0.6857 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/1.179, allocations: 19.94 kB / 0.6857 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.201, allocations: 14.9 MB / 0.7002 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.201, allocations: 4 kB / 0.7002 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.203, allocations: 0.609 MB / 0.7008 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/1.206, allocations: 0.9225 MB / 0.7017 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.206, allocations: 79.98 kB / 0.7018 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2023/1.408, allocations: 12.89 MB / 0.7144 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.408, allocations: 9.844 kB / 0.7144 GB, free: 139.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.423, allocations: 8.746 MB / 0.7229 GB, free: 136.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.425, allocations: 1.037 MB / 0.7239 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008076/1.426, allocations: 65.05 kB / 0.724 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.429, allocations: 227.5 kB / 0.7242 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/1.429, allocations: 256.3 kB / 0.7245 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/1.429, allocations: 102.6 kB / 0.7246 GB, free: 136.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006169/1.436, allocations: 3.585 MB / 0.7281 GB, free: 134.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/1.436, allocations: 0 / 0.7281 GB, free: 134.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006671/1.442, allocations: 1.83 MB / 0.7299 GB, free: 134.7 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 (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.0007341/1.443, allocations: 274.5 kB / 0.7301 GB, free: 134.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01062/1.454, allocations: 7.222 MB / 0.7372 GB, free: 131.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.454, allocations: 9.109 kB / 0.7372 GB, free: 131.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005369/1.459, allocations: 3.475 MB / 0.7406 GB, free: 130 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009075/1.468, allocations: 1.128 MB / 0.7417 GB, free: 129.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/1.499, allocations: 23.38 MB / 0.7645 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007265/1.506, allocations: 6.664 MB / 0.771 GB, free: 109.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005991/1.512, allocations: 1.938 MB / 0.7729 GB, free: 107.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.513, allocations: 383.4 kB / 0.7733 GB, free: 107.5 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/1.513, allocations: 4 kB / 0.7733 GB, free: 107.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1054/1.619, allocations: 71.4 MB / 0.843 GB, free: 36.08 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)