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.001087/0.001087, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.152/1.152, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.0015/0.0015, allocations: 119 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07229/0.07258, allocations: 44.5 MB / 355.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.3302, allocations: 142.9 MB / 497.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.3305, allocations: 112.1 kB / 498.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6849/1.015, allocations: 232.8 MB / 0.7137 GB, free: 39.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.015, allocations: 3.75 kB / 0.7137 GB, free: 39.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003397/1.016, allocations: 160.4 kB / 0.7139 GB, free: 39.85 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.02046/1.036, allocations: 7.268 MB / 0.721 GB, free: 37.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.036, allocations: 8.969 kB / 0.721 GB, free: 37.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/1.055, allocations: 3.684 MB / 0.7246 GB, free: 36.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/1.068, allocations: 5.949 MB / 0.7304 GB, free: 36.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/1.068, allocations: 0.5204 MB / 0.7309 GB, free: 36.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/1.07, allocations: 0.6981 MB / 0.7316 GB, free: 36.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/1.09, allocations: 11.44 MB / 0.7428 GB, free: 35.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002119/1.09, allocations: 21.78 kB / 0.7428 GB, free: 35.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/1.091, allocations: 305.3 kB / 0.7431 GB, free: 35.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003562/1.091, allocations: 488.8 kB / 0.7435 GB, free: 35.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.108, allocations: 10.66 MB / 0.7539 GB, free: 31.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05058/1.159, allocations: 38.32 MB / 0.7914 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/1.173, allocations: 18.51 MB / 0.8094 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02262/1.195, allocations: 13.71 MB / 0.8228 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/1.195, allocations: 73.31 kB / 0.8229 GB, free: 6.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=404): time 6.032e-06/1.195, allocations: 4 kB / 0.8229 GB, free: 6.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=420): time 0.1992/1.395, allocations: 22.46 MB / 0.8448 GB, free: 67.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001414/1.396, allocations: 1.967 MB / 0.8468 GB, free: 65.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/1.4, allocations: 2.966 MB / 0.8497 GB, free: 65.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.4, allocations: 87.98 kB / 0.8497 GB, free: 65.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.401, allocations: 3.144 MB / 0.8528 GB, free: 64.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008403/1.402, allocations: 1.42 MB / 0.8542 GB, free: 63.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.402, allocations: 101.6 kB / 0.8543 GB, free: 63.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/1.403, allocations: 0.5287 MB / 0.8548 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/1.406, allocations: 2.904 MB / 0.8576 GB, free: 63.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/1.411, allocations: 4.896 MB / 0.8624 GB, free: 60.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/1.415, allocations: 3.797 MB / 0.8661 GB, free: 60.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/1.415, allocations: 19.22 kB / 0.8662 GB, free: 60.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01253/1.428, allocations: 9.435 MB / 0.8754 GB, free: 60.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/1.428, allocations: 30.75 kB / 0.8754 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.428, allocations: 65.16 kB / 0.8755 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/1.432, allocations: 2.484 MB / 0.8779 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/1.435, allocations: 1.06 MB / 0.8789 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004726/1.44, allocations: 5.418 MB / 0.8842 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/1.444, allocations: 314.1 kB / 0.8845 GB, free: 58.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/1.444, allocations: 276.8 kB / 0.8848 GB, free: 58.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (564): * Single equations (assignments): 542 * 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.003759/1.448, allocations: 2.503 MB / 0.8872 GB, free: 57.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007405/1.448, allocations: 415.3 kB / 0.8876 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009625/1.458, allocations: 7.923 MB / 0.8953 GB, free: 53.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.268e-05/1.458, allocations: 97.28 kB / 0.8954 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.458, allocations: 0 / 0.8954 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.889e-05/1.458, allocations: 18.28 kB / 0.8955 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/1.484, allocations: 19.57 MB / 0.9146 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.484, allocations: 3.906 kB / 0.9146 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/1.486, allocations: 0.543 MB / 0.9151 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003889/1.49, allocations: 2.451 MB / 0.9175 GB, free: 43.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/1.49, allocations: 97.27 kB / 0.9176 GB, free: 43.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/1.496, allocations: 7.187 MB / 0.9246 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001199/1.498, allocations: 1.913 MB / 0.9265 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.511, allocations: 12.41 MB / 0.9386 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/1.513, allocations: 1.091 MB / 0.9397 GB, free: 29.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005902/1.514, allocations: 70.84 kB / 0.9397 GB, free: 29.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.516, allocations: 202.8 kB / 0.9399 GB, free: 29.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004677/1.516, allocations: 333.2 kB / 0.9402 GB, free: 29.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/1.517, allocations: 119.7 kB / 0.9404 GB, free: 29.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002822/1.519, allocations: 2.192 MB / 0.9425 GB, free: 27.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.519, allocations: 0 / 0.9425 GB, free: 27.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004803/1.524, allocations: 1.375 MB / 0.9438 GB, free: 26.16 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 264 * 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.0008583/1.525, allocations: 0.5822 MB / 0.9444 GB, free: 25.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009183/1.534, allocations: 7.348 MB / 0.9516 GB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.534, allocations: 5.062 kB / 0.9516 GB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00462/1.539, allocations: 3.655 MB / 0.9552 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/1.543, allocations: 0.8951 MB / 0.956 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.565, allocations: 17.03 MB / 0.9727 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00435/1.569, allocations: 4.666 MB / 0.9772 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003854/1.573, allocations: 1.176 MB / 0.9784 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007725/1.574, allocations: 295 kB / 0.9786 GB, free: 11.32 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/1.574, allocations: 0 / 0.9786 GB, free: 11.32 MB / 442.7 MB Notification: Performance of Templates: time 0.2782/1.852, allocations: 81.9 MB / 1.059 GB, free: 69.21 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)