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.SMPM_OpenCircuit.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.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108 kB / 15.61 MB, free: 152 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: 195.5 kB / 16.53 MB, free: 6.664 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.594 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.001134/0.001134, allocations: 47.94 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2026, allocations: 46.62 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02985/0.2325, allocations: 30.24 MB / 355.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.2501, allocations: 8.633 MB / 364.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005697/0.2559, allocations: 163.5 kB / 364.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.2678, allocations: 4.899 MB / 369.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009585/0.2774, allocations: 2.952 MB / 372.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.2818, allocations: 1.61 MB / 373.8 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.2924, allocations: 8.66 MB / 382.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01696/0.3094, allocations: 12.86 MB / 395.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005927/0.3154, allocations: 4.203 MB / 399.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006855/0.3223, allocations: 4.749 MB / 404.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003072/0.3254, allocations: 1.164 MB / 405.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004783/0.3302, allocations: 1.542 MB / 407 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.3327, allocations: 2.408 MB / 409.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005792/0.3385, allocations: 4.676 MB / 414.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3523, allocations: 15.63 MB / 429.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3524, allocations: 3.984 kB / 429.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3524, allocations: 0 / 429.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002906/0.3527, allocations: 0 / 429.7 MB, free: 11.11 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02506/0.3777, allocations: 9.779 MB / 439.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3778, allocations: 12.03 kB / 439.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/0.4069, allocations: 5.258 MB / 444.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009846/0.4168, allocations: 4.66 MB / 449.4 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/0.4173, allocations: 0.5339 MB / 450 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.4196, allocations: 0.7146 MB / 450.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1847/0.6043, allocations: 11.31 MB / 462 MB, free: 100.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.6046, allocations: 19.09 kB / 462 MB, free: 100.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.6058, allocations: 297.1 kB / 462.3 MB, free: 100.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004522/0.6062, allocations: 449.7 kB / 462.7 MB, free: 100.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.6253, allocations: 10.8 MB / 473.6 MB, free: 95.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/0.6779, allocations: 37.99 MB / 0.4996 GB, free: 60.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.6921, allocations: 28.1 MB / 0.527 GB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.6958, allocations: 2.647 MB / 0.5296 GB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.708, allocations: 7.942 MB / 0.5373 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.7081, allocations: 60.5 kB / 0.5374 GB, free: 18.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 4.649e-06/0.7081, allocations: 0 / 0.5374 GB, free: 18.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.01756/0.7257, allocations: 10.35 MB / 0.5475 GB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001551/0.7272, allocations: 2.014 MB / 0.5495 GB, free: 5.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006002/0.7333, allocations: 3.826 MB / 0.5532 GB, free: 1.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003509/0.7336, allocations: 61.7 kB / 0.5533 GB, free: 1.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.7361, allocations: 3.547 MB / 0.5567 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008289/0.737, allocations: 0.8272 MB / 0.5575 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/0.7388, allocations: 0.9529 MB / 0.5585 GB, free: 12.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7389, allocations: 305.1 kB / 0.5588 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.742, allocations: 1.891 MB / 0.5606 GB, free: 10.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004568/0.7465, allocations: 4.391 MB / 0.5649 GB, free: 4.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007807/0.7544, allocations: 6.787 MB / 0.5715 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/0.7544, allocations: 28 kB / 0.5716 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0125/0.7669, allocations: 6.983 MB / 0.5784 GB, free: 5.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.7671, allocations: 41.12 kB / 0.5784 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/0.7673, allocations: 88 kB / 0.5785 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.7696, allocations: 0.7448 MB / 0.5792 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.7735, allocations: 1.12 MB / 0.5803 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/0.7811, allocations: 5.644 MB / 0.5858 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.7849, allocations: 311.1 kB / 0.5861 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006602/0.7855, allocations: 272 kB / 0.5864 GB, free: 13.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004217/0.7898, allocations: 2.522 MB / 0.5888 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/0.7907, allocations: 383.3 kB / 0.5892 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00785/0.7986, allocations: 4.278 MB / 0.5934 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.7986, allocations: 28 kB / 0.5934 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.7987, allocations: 8 kB / 0.5934 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.7987, allocations: 11.95 kB / 0.5934 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02413/0.8228, allocations: 14.29 MB / 0.6074 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/0.8229, allocations: 13 kB / 0.6074 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.8248, allocations: 479.2 kB / 0.6079 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.827, allocations: 0.6932 MB / 0.6085 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.8272, allocations: 67.98 kB / 0.6086 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1595/0.9867, allocations: 7.493 MB / 0.6159 GB, free: 149.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00164/0.9884, allocations: 1.957 MB / 0.6178 GB, free: 148.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.9987, allocations: 6.738 MB / 0.6244 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1, allocations: 0.7899 MB / 0.6252 GB, free: 146.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009943/1.001, allocations: 59.56 kB / 0.6252 GB, free: 146 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.004, allocations: 168.3 kB / 0.6254 GB, free: 146 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/1.004, allocations: 222.2 kB / 0.6256 GB, free: 145.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.004, allocations: 90.66 kB / 0.6257 GB, free: 145.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00386/1.008, allocations: 2.509 MB / 0.6281 GB, free: 145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0 / 0.6281 GB, free: 145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004389/1.013, allocations: 1.294 MB / 0.6294 GB, free: 144.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004426/1.013, allocations: 227.4 kB / 0.6296 GB, free: 144.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/1.025, allocations: 7.023 MB / 0.6365 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.025, allocations: 3.031 kB / 0.6365 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/1.028, allocations: 2.414 MB / 0.6388 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005134/1.033, allocations: 0.9881 MB / 0.6398 GB, free: 141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.051, allocations: 12.47 MB / 0.652 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003809/1.055, allocations: 4.501 MB / 0.6564 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003815/1.059, allocations: 1.353 MB / 0.6577 GB, free: 127.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/1.059, allocations: 301.3 kB / 0.658 GB, free: 126.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/1.059, allocations: 0 / 0.658 GB, free: 126.8 MB / 446.1 MB Notification: Performance of Templates: time 0.07973/1.139, allocations: 56.83 MB / 0.7135 GB, free: 70.8 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1)