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.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001231/0.001231, allocations: 191.7 kB / 16.25 MB, free: 6.617 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.342/1.342, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001135/0.001135, allocations: 55.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2215, allocations: 46.63 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02983/0.2514, allocations: 29.73 MB / 354.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.2709, allocations: 8.528 MB / 363.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006084/0.2771, allocations: 159.5 kB / 363.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.2888, allocations: 4.576 MB / 367.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009088/0.2979, allocations: 2.679 MB / 370.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.3023, allocations: 1.485 MB / 372 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.3135, allocations: 8.757 MB / 380.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02268/0.3362, allocations: 14.35 MB / 395.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007364/0.3436, allocations: 4.183 MB / 399.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00836/0.352, allocations: 4.776 MB / 404.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00335/0.3554, allocations: 1.164 MB / 405.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004631/0.36, allocations: 1.535 MB / 406.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003377/0.3634, allocations: 2.412 MB / 409.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007173/0.3706, allocations: 4.669 MB / 413.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.3856, allocations: 15.62 MB / 429.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3857, allocations: 0 / 429.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3857, allocations: 0 / 429.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003376/0.386, allocations: 0 / 429.5 MB, free: 11.07 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.02682/0.4129, allocations: 9.779 MB / 439.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4129, allocations: 12.03 kB / 439.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/0.4408, allocations: 5.262 MB / 444.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009774/0.4506, allocations: 4.633 MB / 449.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.4511, allocations: 0.5378 MB / 449.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002634/0.4538, allocations: 0.7069 MB / 450.4 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1722/0.626, allocations: 11.31 MB / 461.7 MB, free: 98.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.6262, allocations: 19.53 kB / 461.8 MB, free: 98.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000992/0.6272, allocations: 300.6 kB / 462.1 MB, free: 98.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003878/0.6276, allocations: 443.7 kB / 462.5 MB, free: 98.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.6449, allocations: 10.81 MB / 473.3 MB, free: 93.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04403/0.689, allocations: 37.98 MB / 0.4993 GB, free: 59.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.7013, allocations: 28.12 MB / 0.5268 GB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/0.7047, allocations: 2.647 MB / 0.5293 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009976/0.7147, allocations: 7.929 MB / 0.5371 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.7147, allocations: 60.56 kB / 0.5371 GB, free: 16.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 3.787e-06/0.7147, allocations: 7.781 kB / 0.5371 GB, free: 16.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.01551/0.7303, allocations: 10.37 MB / 0.5473 GB, free: 6.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001505/0.7318, allocations: 2.003 MB / 0.5492 GB, free: 3.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.7361, allocations: 3.822 MB / 0.553 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003052/0.7364, allocations: 61.7 kB / 0.553 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.7386, allocations: 3.553 MB / 0.5565 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008136/0.7395, allocations: 0.8314 MB / 0.5573 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.7408, allocations: 0.9529 MB / 0.5582 GB, free: 10.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.7409, allocations: 301.1 kB / 0.5585 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.7437, allocations: 1.891 MB / 0.5604 GB, free: 8.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004546/0.7482, allocations: 4.394 MB / 0.5647 GB, free: 2.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008086/0.7563, allocations: 6.791 MB / 0.5713 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.83e-05/0.7565, allocations: 28 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01293/0.7694, allocations: 6.98 MB / 0.5781 GB, free: 3.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/0.7695, allocations: 44.06 kB / 0.5782 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/0.7697, allocations: 88 kB / 0.5783 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/0.7718, allocations: 0.7401 MB / 0.579 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.7757, allocations: 1.115 MB / 0.5801 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007228/0.783, allocations: 5.652 MB / 0.5856 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/0.7868, allocations: 311.1 kB / 0.5859 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006622/0.7875, allocations: 275.9 kB / 0.5861 GB, free: 11.55 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.004462/0.792, allocations: 2.518 MB / 0.5886 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009218/0.7929, allocations: 379.3 kB / 0.589 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007162/0.8001, allocations: 4.286 MB / 0.5932 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.8001, allocations: 24 kB / 0.5932 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.8002, allocations: 8 kB / 0.5932 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.8002, allocations: 11.95 kB / 0.5932 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.8231, allocations: 14.28 MB / 0.6071 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.8231, allocations: 16 kB / 0.6072 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/0.8251, allocations: 479.1 kB / 0.6076 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.8271, allocations: 0.6972 MB / 0.6083 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/0.8274, allocations: 67.98 kB / 0.6084 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.156/0.9834, allocations: 7.493 MB / 0.6157 GB, free: 146.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001403/0.9848, allocations: 1.952 MB / 0.6176 GB, free: 145.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008782/0.9936, allocations: 6.736 MB / 0.6242 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/0.9952, allocations: 0.7969 MB / 0.6249 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/0.9958, allocations: 59.62 kB / 0.625 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.9976, allocations: 167.5 kB / 0.6252 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/0.998, allocations: 220.1 kB / 0.6254 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.9982, allocations: 91.58 kB / 0.6255 GB, free: 142.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003256/1.001, allocations: 2.509 MB / 0.6279 GB, free: 141.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.001, allocations: 0 / 0.6279 GB, free: 141.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004376/1.006, allocations: 1.289 MB / 0.6292 GB, free: 141.7 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.0005026/1.006, allocations: 224 kB / 0.6294 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01183/1.018, allocations: 7.022 MB / 0.6362 GB, free: 139.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.018, allocations: 3.625 kB / 0.6362 GB, free: 139.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.022, allocations: 2.414 MB / 0.6386 GB, free: 138.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/1.026, allocations: 0.9902 MB / 0.6396 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/1.047, allocations: 15.45 MB / 0.6546 GB, free: 125.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/1.051, allocations: 4.493 MB / 0.659 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00396/1.055, allocations: 1.357 MB / 0.6604 GB, free: 120.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.055, allocations: 298.2 kB / 0.6606 GB, free: 120.6 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/1.055, allocations: 0 / 0.6606 GB, free: 120.6 MB / 446.1 MB Notification: Performance of Templates: time 0.07578/1.131, allocations: 56.83 MB / 0.7161 GB, free: 64.36 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)