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.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001182/0.001182, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.516/1.516, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 122.2 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.231e-05, allocations: 4 kB / 305 MB, free: 29.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09487, allocations: 44.5 MB / 349.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.4757, allocations: 142.8 MB / 492.3 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.476, allocations: 104.7 kB / 492.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9553/1.431, allocations: 232.7 MB / 0.708 GB, free: 33.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.431, allocations: 0 / 0.708 GB, free: 33.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004954/1.432, allocations: 161.9 kB / 0.7082 GB, free: 33.78 MB / 394.7 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.0235/1.455, allocations: 6.785 MB / 0.7148 GB, free: 31.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/1.456, allocations: 7.281 kB / 0.7148 GB, free: 31.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02142/1.477, allocations: 3.665 MB / 0.7184 GB, free: 31.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/1.492, allocations: 5.935 MB / 0.7242 GB, free: 30.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006106/1.493, allocations: 0.5218 MB / 0.7247 GB, free: 30.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/1.496, allocations: 0.6968 MB / 0.7254 GB, free: 30.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/1.528, allocations: 11.32 MB / 0.7364 GB, free: 29.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004257/1.528, allocations: 17.19 kB / 0.7365 GB, free: 29.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/1.531, allocations: 298.6 kB / 0.7367 GB, free: 29.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004693/1.531, allocations: 490.1 kB / 0.7372 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/1.553, allocations: 10.49 MB / 0.7475 GB, free: 29.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06438/1.617, allocations: 38.32 MB / 0.7849 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/1.631, allocations: 18.42 MB / 0.8029 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006571/1.638, allocations: 4.202 MB / 0.807 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02542/1.663, allocations: 13.78 MB / 0.8204 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/1.663, allocations: 69.28 kB / 0.8205 GB, free: 12.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 5.912e-06/1.663, allocations: 4 kB / 0.8205 GB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.02455/1.688, allocations: 14.25 MB / 0.8344 GB, free: 236 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00213/1.69, allocations: 1.941 MB / 0.8363 GB, free: 14.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005272/1.695, allocations: 2.93 MB / 0.8392 GB, free: 11.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008921/1.696, allocations: 81.7 kB / 0.8392 GB, free: 11.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/1.699, allocations: 3.159 MB / 0.8423 GB, free: 8.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002095/1.701, allocations: 1.399 MB / 0.8437 GB, free: 7.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/1.701, allocations: 108 kB / 0.8438 GB, free: 7.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004112/1.702, allocations: 0.524 MB / 0.8443 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004429/1.706, allocations: 2.846 MB / 0.8471 GB, free: 4.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2766/1.983, allocations: 4.842 MB / 0.8518 GB, free: 75.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/1.99, allocations: 3.75 MB / 0.8555 GB, free: 75.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/1.99, allocations: 19.06 kB / 0.8555 GB, free: 75.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01805/2.008, allocations: 9.309 MB / 0.8646 GB, free: 75.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/2.008, allocations: 33.09 kB / 0.8646 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/2.008, allocations: 65.69 kB / 0.8647 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005182/2.013, allocations: 2.462 MB / 0.8671 GB, free: 74.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/2.018, allocations: 1.053 MB / 0.8681 GB, free: 74.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/2.024, allocations: 5.403 MB / 0.8734 GB, free: 73.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/2.028, allocations: 318.3 kB / 0.8737 GB, free: 73.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/2.029, allocations: 270.9 kB / 0.8739 GB, free: 73.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 538 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 9,11 79} Notification: Performance of prepare postOptimizeDAE: time 0.0009134/2.03, allocations: 435.4 kB / 0.8744 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/2.031, allocations: 415.2 kB / 0.8748 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/2.043, allocations: 7.804 MB / 0.8824 GB, free: 73.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-05/2.043, allocations: 92.64 kB / 0.8825 GB, free: 73.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/2.043, allocations: 0 / 0.8825 GB, free: 73.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.351e-05/2.043, allocations: 22.91 kB / 0.8825 GB, free: 73.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03019/2.073, allocations: 19.43 MB / 0.9015 GB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/2.073, allocations: 7.281 kB / 0.9015 GB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/2.075, allocations: 0.5305 MB / 0.902 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00411/2.079, allocations: 2.431 MB / 0.9044 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005064/2.08, allocations: 96.16 kB / 0.9044 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006511/2.087, allocations: 7.149 MB / 0.9114 GB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001353/2.088, allocations: 1.875 MB / 0.9133 GB, free: 64.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/2.104, allocations: 12.23 MB / 0.9252 GB, free: 58.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003248/2.107, allocations: 1.082 MB / 0.9263 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/2.108, allocations: 71 kB / 0.9263 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/2.111, allocations: 208.2 kB / 0.9265 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005689/2.112, allocations: 317.8 kB / 0.9268 GB, free: 57.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/2.112, allocations: 126.6 kB / 0.9269 GB, free: 57.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00324/2.115, allocations: 2.157 MB / 0.9291 GB, free: 57.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/2.115, allocations: 0 / 0.9291 GB, free: 57.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005638/2.121, allocations: 1.376 MB / 0.9304 GB, free: 56.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (281): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 3,6 9,11 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/2.122, allocations: 0.6815 MB / 0.9311 GB, free: 56.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/2.133, allocations: 7.229 MB / 0.9381 GB, free: 53.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.133, allocations: 0 / 0.9381 GB, free: 53.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005787/2.139, allocations: 3.598 MB / 0.9416 GB, free: 52.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/2.144, allocations: 0.8942 MB / 0.9425 GB, free: 52.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/2.166, allocations: 12.22 MB / 0.9544 GB, free: 44.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/2.17, allocations: 4.674 MB / 0.959 GB, free: 40.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004162/2.174, allocations: 1.171 MB / 0.9601 GB, free: 40.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008873/2.175, allocations: 293.4 kB / 0.9604 GB, free: 39.75 MB / 442.7 MB Notification: Performance of SimCode: time 3.366e-06/2.175, allocations: 0 / 0.9604 GB, free: 39.75 MB / 442.7 MB Notification: Performance of Templates: time 0.3576/2.533, allocations: 79.23 MB / 1.038 GB, free: 67.69 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1)