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.001235/0.001235, allocations: 111.8 kB / 16.62 MB, free: 6.812 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.001213/0.001213, allocations: 190 kB / 17.55 MB, free: 5.934 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.285/1.285, allocations: 205.1 MB / 223.4 MB, free: 12.37 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.00117/0.00117, allocations: 43.94 kB / 279.5 MB, free: 3.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.08197, allocations: 46.63 MB / 326.2 MB, free: 4.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03754/0.1195, allocations: 40.54 MB / 366.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02167/0.1413, allocations: 10.91 MB / 377.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.1484, allocations: 243.2 kB / 377.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1813/0.3298, allocations: 7.384 MB / 385.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.3428, allocations: 3.273 MB / 388.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007543/0.3504, allocations: 2.118 MB / 390.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01765/0.368, allocations: 12.68 MB / 403.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03327/0.4013, allocations: 26.33 MB / 429.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.413, allocations: 6.417 MB / 436 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.4246, allocations: 7.313 MB / 443.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004416/0.4291, allocations: 1.84 MB / 445.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007965/0.437, allocations: 2.265 MB / 447.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005964/0.4431, allocations: 3.718 MB / 451.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01296/0.456, allocations: 7.189 MB / 458.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02629/0.4824, allocations: 24.02 MB / 482.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4824, allocations: 0 / 482.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4824, allocations: 0 / 482.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005271/0.483, allocations: 0 / 482.4 MB, free: 2.242 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.03938/0.5224, allocations: 14.47 MB / 496.9 MB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5224, allocations: 8.031 kB / 496.9 MB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03437/0.5568, allocations: 6.151 MB / 0.4912 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.5712, allocations: 6.973 MB / 0.498 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008609/0.5721, allocations: 0.8451 MB / 0.4989 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003834/0.576, allocations: 1.119 MB / 0.5 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04182/0.6178, allocations: 17.19 MB / 0.5167 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005373/0.6184, allocations: 15.91 kB / 0.5168 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003424/0.6218, allocations: 472 kB / 0.5172 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006608/0.6225, allocations: 0.613 MB / 0.5178 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03179/0.6543, allocations: 15.58 MB / 0.533 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3656/1.02, allocations: 58.6 MB / 0.5902 GB, free: 104.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/1.036, allocations: 20.94 MB / 0.6107 GB, free: 84.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004827/1.041, allocations: 3.37 MB / 0.614 GB, free: 83.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01589/1.057, allocations: 9.691 MB / 0.6234 GB, free: 75.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/1.057, allocations: 69.56 kB / 0.6235 GB, free: 75.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 6.543e-06/1.057, allocations: 0 / 0.6235 GB, free: 75.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=346): time 0.03086/1.088, allocations: 16.92 MB / 0.64 GB, free: 58.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/1.088, allocations: 116.4 kB / 0.6401 GB, free: 58.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007923/1.096, allocations: 5.424 MB / 0.6454 GB, free: 52.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004974/1.096, allocations: 81.7 kB / 0.6455 GB, free: 52.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002235/1.099, allocations: 5.33 MB / 0.6507 GB, free: 47.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000965/1.099, allocations: 1.227 MB / 0.6519 GB, free: 46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/1.102, allocations: 1.353 MB / 0.6532 GB, free: 44.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/1.102, allocations: 305.1 kB / 0.6535 GB, free: 44.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/1.106, allocations: 2.785 MB / 0.6563 GB, free: 41.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004814/1.11, allocations: 5.845 MB / 0.662 GB, free: 34.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008854/1.119, allocations: 9.049 MB / 0.6708 GB, free: 23.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.471e-05/1.119, allocations: 32 kB / 0.6708 GB, free: 23.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01547/1.135, allocations: 9.773 MB / 0.6804 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/1.135, allocations: 48 kB / 0.6804 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/1.135, allocations: 104.5 kB / 0.6805 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/1.137, allocations: 0.9399 MB / 0.6814 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/1.143, allocations: 1.583 MB / 0.683 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.153, allocations: 10.62 MB / 0.6934 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/1.158, allocations: 435.1 kB / 0.6938 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.16, allocations: 364 kB / 0.6941 GB, free: 15.35 MB / 462.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.007208/1.167, allocations: 3.837 MB / 0.6979 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.168, allocations: 0.5131 MB / 0.6984 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.179, allocations: 5.992 MB / 0.7042 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004914/1.184, allocations: 3.127 MB / 0.7073 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/1.184, allocations: 12.06 kB / 0.7073 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-05/1.184, allocations: 23.88 kB / 0.7073 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1981/1.382, allocations: 14.84 MB / 0.7218 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.382, allocations: 7.781 kB / 0.7218 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/1.385, allocations: 0.5967 MB / 0.7224 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/1.387, allocations: 0.9133 MB / 0.7233 GB, free: 142.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.388, allocations: 85.23 kB / 0.7234 GB, free: 142.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.4, allocations: 14.12 MB / 0.7371 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.4, allocations: 11.84 kB / 0.7372 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.414, allocations: 8.666 MB / 0.7456 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.416, allocations: 1.002 MB / 0.7466 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/1.417, allocations: 67.47 kB / 0.7467 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.421, allocations: 207.9 kB / 0.7469 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006/1.421, allocations: 255.8 kB / 0.7471 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/1.421, allocations: 101.2 kB / 0.7472 GB, free: 127.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00636/1.428, allocations: 3.596 MB / 0.7507 GB, free: 126 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.428, allocations: 0 / 0.7507 GB, free: 126 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007088/1.435, allocations: 1.834 MB / 0.7525 GB, free: 125.9 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.0006834/1.436, allocations: 264.5 kB / 0.7528 GB, free: 125.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01574/1.451, allocations: 9.151 MB / 0.7617 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.451, allocations: 3.656 kB / 0.7617 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/1.456, allocations: 3.447 MB / 0.7651 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006273/1.463, allocations: 1.184 MB / 0.7662 GB, free: 116 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/1.495, allocations: 23.25 MB / 0.7889 GB, free: 94.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00676/1.502, allocations: 6.663 MB / 0.7954 GB, free: 88.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005222/1.507, allocations: 1.937 MB / 0.7973 GB, free: 86.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009881/1.508, allocations: 387.3 kB / 0.7977 GB, free: 85.95 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/1.508, allocations: 0 / 0.7977 GB, free: 85.95 MB / 462.1 MB Notification: Performance of Templates: time 0.1073/1.616, allocations: 75 MB / 0.8709 GB, free: 10.93 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)