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.00799/0.00799, allocations: 103.1 kB / 15.73 MB, free: 5.992 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.001469/0.001469, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.561/1.561, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001316/0.001316, allocations: 43.03 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03463/0.1449, allocations: 30.24 MB / 403.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02398/0.1689, allocations: 8.635 MB / 412.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008339/0.1773, allocations: 163.5 kB / 412.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01495/0.1923, allocations: 4.969 MB / 417.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.2045, allocations: 3.027 MB / 420.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.2108, allocations: 1.609 MB / 421.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01479/0.2256, allocations: 8.707 MB / 430.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02362/0.2493, allocations: 12.83 MB / 443.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008534/0.2579, allocations: 4.242 MB / 447.6 MB, free: 6.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009129/0.267, allocations: 4.733 MB / 452.3 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004304/0.2713, allocations: 1.164 MB / 453.5 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2735/0.5449, allocations: 1.519 MB / 455 MB, free: 23.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004254/0.5492, allocations: 2.407 MB / 457.4 MB, free: 23.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01293/0.5621, allocations: 4.666 MB / 462.1 MB, free: 23.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02527/0.5875, allocations: 15.73 MB / 477.8 MB, free: 20.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5875, allocations: 0 / 477.8 MB, free: 20.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5875, allocations: 0 / 477.8 MB, free: 20.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005668/0.5881, allocations: 0 / 477.8 MB, free: 20.75 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.04202/0.6301, allocations: 9.757 MB / 487.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6302, allocations: 9.875 kB / 487.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02881/0.659, allocations: 5.276 MB / 492.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.6723, allocations: 4.686 MB / 497.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006258/0.673, allocations: 0.5333 MB / 498.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004807/0.6778, allocations: 0.7111 MB / 498.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03645/0.7142, allocations: 11.32 MB / 0.4982 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.7145, allocations: 16.03 kB / 0.4982 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009462/0.7155, allocations: 296.5 kB / 0.4985 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003136/0.7158, allocations: 450.9 kB / 0.4989 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.7399, allocations: 10.81 MB / 0.5095 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08302/0.823, allocations: 37.57 MB / 0.5461 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02447/0.8475, allocations: 28.11 MB / 0.5736 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/0.853, allocations: 2.662 MB / 0.5762 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/0.8732, allocations: 7.903 MB / 0.5839 GB, free: 5.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.8733, allocations: 52.56 kB / 0.584 GB, free: 5.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 4.338e-06/0.8733, allocations: 4 kB / 0.584 GB, free: 5.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=233): time 0.02514/0.8985, allocations: 10.36 MB / 0.5941 GB, free: 10.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002233/0.9008, allocations: 2.016 MB / 0.5961 GB, free: 8.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009121/0.9099, allocations: 3.826 MB / 0.5998 GB, free: 4.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000605/0.9105, allocations: 64.42 kB / 0.5999 GB, free: 4.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002934/0.9135, allocations: 3.547 MB / 0.6033 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.9146, allocations: 0.8237 MB / 0.6041 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.9161, allocations: 0.9529 MB / 0.6051 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9163, allocations: 309.2 kB / 0.6053 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/0.9192, allocations: 1.891 MB / 0.6072 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004556/0.9238, allocations: 4.393 MB / 0.6115 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008363/0.9321, allocations: 6.786 MB / 0.6181 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-05/0.9323, allocations: 24 kB / 0.6181 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01369/0.946, allocations: 6.983 MB / 0.625 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.409e-05/0.9461, allocations: 44.94 kB / 0.625 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/0.9463, allocations: 84 kB / 0.6251 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.9487, allocations: 0.7397 MB / 0.6258 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/0.9526, allocations: 1.118 MB / 0.6269 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007949/0.9606, allocations: 5.634 MB / 0.6324 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/0.9657, allocations: 315 kB / 0.6327 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009185/0.9667, allocations: 279.5 kB / 0.633 GB, free: 1.219 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.3234/1.29, allocations: 2.522 MB / 0.6354 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.292, allocations: 388.8 kB / 0.6358 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009667/1.301, allocations: 4.265 MB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-05/1.301, allocations: 24.7 kB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.301, allocations: 6.406 kB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/1.301, allocations: 14.75 kB / 0.64 GB, free: 184.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/1.327, allocations: 14.28 MB / 0.654 GB, free: 180 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.327, allocations: 11.88 kB / 0.654 GB, free: 180 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.329, allocations: 473.5 kB / 0.6544 GB, free: 180 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/1.331, allocations: 0.6911 MB / 0.6551 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.331, allocations: 70.92 kB / 0.6552 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007705/1.338, allocations: 7.491 MB / 0.6625 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001432/1.34, allocations: 1.955 MB / 0.6644 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009244/1.349, allocations: 6.746 MB / 0.671 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.352, allocations: 0.7938 MB / 0.6717 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006263/1.352, allocations: 61.81 kB / 0.6718 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.354, allocations: 168.2 kB / 0.672 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/1.355, allocations: 215.6 kB / 0.6722 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.355, allocations: 89.61 kB / 0.6723 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004001/1.359, allocations: 2.511 MB / 0.6747 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.359, allocations: 0 / 0.6747 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006159/1.365, allocations: 1.293 MB / 0.676 GB, free: 167.3 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.0005795/1.366, allocations: 234.5 kB / 0.6762 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007768/1.373, allocations: 5.167 MB / 0.6812 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.373, allocations: 4 kB / 0.6812 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/1.377, allocations: 2.418 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.005368/1.382, allocations: 0.9836 MB / 0.6846 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.405, allocations: 12.31 MB / 0.6966 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004112/1.409, allocations: 4.505 MB / 0.701 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003907/1.413, allocations: 1.356 MB / 0.7023 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/1.414, allocations: 302.4 kB / 0.7026 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/1.414, allocations: 0 / 0.7026 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.08616/1.5, allocations: 53.32 MB / 0.7547 GB, free: 87.93 MB / 0.5137 GB 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)