Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007676/0.007676, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.00151/0.00151, allocations: 190.9 kB / 16.67 MB, free: 6.355 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001364/0.001364, allocations: 57.41 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03298/0.146, allocations: 30.23 MB / 403.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02325/0.1693, allocations: 8.639 MB / 412.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008279/0.1776, allocations: 167.5 kB / 412.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.1921, allocations: 4.958 MB / 417.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.2047, allocations: 3.031 MB / 420.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005936/0.2106, allocations: 1.609 MB / 421.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01354/0.2242, allocations: 8.711 MB / 430.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01969/0.2439, allocations: 12.84 MB / 443.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008451/0.2524, allocations: 4.23 MB / 447.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.2643, allocations: 4.73 MB / 452.3 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005263/0.2696, allocations: 1.168 MB / 453.5 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3041/0.5737, allocations: 1.518 MB / 455 MB, free: 23.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004386/0.5781, allocations: 2.412 MB / 457.4 MB, free: 23.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0147/0.5928, allocations: 4.669 MB / 462.1 MB, free: 23.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0252/0.6181, allocations: 15.72 MB / 477.8 MB, free: 20.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.6182, allocations: 5.078 kB / 477.8 MB, free: 20.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6182, allocations: 0 / 477.8 MB, free: 20.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007762/0.619, allocations: 0 / 477.8 MB, free: 20.68 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.04372/0.6627, allocations: 9.756 MB / 487.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6628, allocations: 8.469 kB / 487.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02971/0.6925, allocations: 5.269 MB / 492.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/0.708, allocations: 4.696 MB / 497.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007574/0.7088, allocations: 0.5303 MB / 498.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004896/0.7137, allocations: 0.7077 MB / 498.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04479/0.7585, allocations: 11.31 MB / 0.4982 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005902/0.7592, allocations: 22.98 kB / 0.4982 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004164/0.7634, allocations: 300.4 kB / 0.4985 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005113/0.7639, allocations: 443 kB / 0.4989 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03377/0.7977, allocations: 10.82 MB / 0.5095 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.094/0.8917, allocations: 37.57 MB / 0.5461 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02579/0.9176, allocations: 28.1 MB / 0.5736 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006292/0.9239, allocations: 2.673 MB / 0.5762 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02268/0.9467, allocations: 7.897 MB / 0.5839 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/0.9468, allocations: 60.02 kB / 0.584 GB, free: 5.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 5.33e-06/0.9468, allocations: 0 / 0.584 GB, free: 5.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=233): time 0.02571/0.9725, allocations: 10.36 MB / 0.5941 GB, free: 10.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002537/0.9751, allocations: 2.005 MB / 0.5961 GB, free: 8.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/0.9861, allocations: 3.822 MB / 0.5998 GB, free: 4.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006259/0.9867, allocations: 76.14 kB / 0.5999 GB, free: 4.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003649/0.9904, allocations: 3.544 MB / 0.6033 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/0.9919, allocations: 0.8335 MB / 0.6041 GB, free: 320 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002689/0.9946, allocations: 0.9531 MB / 0.6051 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9948, allocations: 301.1 kB / 0.6053 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.998, allocations: 1.887 MB / 0.6072 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00546/1.003, allocations: 4.397 MB / 0.6115 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009449/1.013, allocations: 6.784 MB / 0.6181 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.701e-05/1.013, allocations: 24 kB / 0.6181 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01454/1.028, allocations: 6.988 MB / 0.625 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.028, allocations: 44 kB / 0.625 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/1.028, allocations: 87.98 kB / 0.6251 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/1.03, allocations: 0.7402 MB / 0.6258 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.034, allocations: 1.114 MB / 0.6269 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008286/1.043, allocations: 5.632 MB / 0.6324 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/1.048, allocations: 315.1 kB / 0.6327 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.049, allocations: 272 kB / 0.633 GB, free: 1.238 MB / 0.5137 GB 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.2335/1.283, allocations: 2.524 MB / 0.6354 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.284, allocations: 387.6 kB / 0.6358 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008104/1.292, allocations: 4.272 MB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.292, allocations: 24.09 kB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.292, allocations: 7.125 kB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/1.292, allocations: 12.14 kB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.314, allocations: 14.28 MB / 0.6539 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.314, allocations: 11.84 kB / 0.654 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.316, allocations: 478.8 kB / 0.6544 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/1.318, allocations: 0.6915 MB / 0.6551 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/1.318, allocations: 66.88 kB / 0.6552 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007164/1.325, allocations: 7.493 MB / 0.6625 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001259/1.326, allocations: 1.956 MB / 0.6644 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009201/1.335, allocations: 6.739 MB / 0.671 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/1.338, allocations: 0.7933 MB / 0.6717 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008126/1.338, allocations: 61.61 kB / 0.6718 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.34, allocations: 160.1 kB / 0.6719 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004299/1.341, allocations: 224.2 kB / 0.6722 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/1.341, allocations: 89.66 kB / 0.6722 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005127/1.346, allocations: 2.514 MB / 0.6747 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/1.346, allocations: 0 / 0.6747 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007438/1.354, allocations: 1.293 MB / 0.676 GB, free: 167.4 MB / 0.5137 GB 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.0005986/1.354, allocations: 231.2 kB / 0.6762 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007136/1.361, allocations: 5.171 MB / 0.6812 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.361, allocations: 4.5 kB / 0.6812 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/1.365, allocations: 2.419 MB / 0.6836 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006943/1.372, allocations: 0.9804 MB / 0.6846 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/1.399, allocations: 12.32 MB / 0.6966 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/1.404, allocations: 4.5 MB / 0.701 GB, free: 143 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003902/1.408, allocations: 1.352 MB / 0.7023 GB, free: 141.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008832/1.409, allocations: 306.4 kB / 0.7026 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/1.409, allocations: 0 / 0.7026 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.08492/1.494, allocations: 53.32 MB / 0.7547 GB, free: 88.02 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1)