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.0007821/0.0007821, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008815/0.0008816, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004343/0.0004344, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 47.59 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02653/0.2433, allocations: 26.51 MB / 353 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.2603, allocations: 8.016 MB / 361 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005326/0.2656, allocations: 155.5 kB / 361.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005205/0.2709, allocations: 1.255 MB / 362.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008872/0.2798, allocations: 2.418 MB / 364.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.2838, allocations: 1.064 MB / 365.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.2974, allocations: 9.935 MB / 375.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01922/0.3167, allocations: 9.989 MB / 385.8 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/0.3218, allocations: 3.13 MB / 389 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005653/0.3274, allocations: 3.634 MB / 392.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.3292, allocations: 480 kB / 393.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.3325, allocations: 0.7926 MB / 393.9 MB, free: 20 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.3347, allocations: 1.561 MB / 395.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00271/0.3374, allocations: 1.592 MB / 397 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.3503, allocations: 13.11 MB / 410.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3504, allocations: 0 / 410.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3504, allocations: 0 / 410.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004003/0.3508, allocations: 0 / 410.1 MB, free: 15.71 MB / 350.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.0214/0.3722, allocations: 8.261 MB / 418.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3723, allocations: 8.031 kB / 418.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02814/0.4004, allocations: 5.277 MB / 423.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.4109, allocations: 4.572 MB / 428.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005933/0.4116, allocations: 0.5378 MB / 428.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002535/0.4141, allocations: 0.7067 MB / 429.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02586/0.44, allocations: 11.27 MB / 440.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003225/0.4403, allocations: 15.84 kB / 440.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00169/0.442, allocations: 300 kB / 441.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.4425, allocations: 447 kB / 441.5 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/0.4635, allocations: 10.74 MB / 452.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2156/0.6791, allocations: 38.09 MB / 490.3 MB, free: 77.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.6929, allocations: 28.07 MB / 0.5063 GB, free: 48.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/0.6968, allocations: 2.64 MB / 0.5088 GB, free: 46.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.7084, allocations: 7.947 MB / 0.5166 GB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.7085, allocations: 60.41 kB / 0.5167 GB, free: 38.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 3.376e-06/0.7085, allocations: 0 / 0.5167 GB, free: 38.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.01959/0.7281, allocations: 11.07 MB / 0.5275 GB, free: 27.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0015/0.7296, allocations: 1.916 MB / 0.5293 GB, free: 25.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/0.7352, allocations: 3.783 MB / 0.533 GB, free: 21.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003101/0.7356, allocations: 69.7 kB / 0.5331 GB, free: 21.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.7371, allocations: 3.548 MB / 0.5366 GB, free: 17.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/0.7378, allocations: 0.8304 MB / 0.5374 GB, free: 16.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.7382, allocations: 96 kB / 0.5375 GB, free: 16.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.7384, allocations: 0.4929 MB / 0.5379 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.7408, allocations: 1.88 MB / 0.5398 GB, free: 14.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.744, allocations: 4.376 MB / 0.5441 GB, free: 8.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.7473, allocations: 2.812 MB / 0.5468 GB, free: 5.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.49e-05/0.7474, allocations: 24 kB / 0.5468 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009831/0.7572, allocations: 6.942 MB / 0.5536 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.7573, allocations: 51.94 kB / 0.5537 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.7574, allocations: 84 kB / 0.5537 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.7594, allocations: 0.7525 MB / 0.5545 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/0.763, allocations: 1.111 MB / 0.5556 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/0.77, allocations: 5.233 MB / 0.5607 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/0.7736, allocations: 307.1 kB / 0.561 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006773/0.7743, allocations: 272 kB / 0.5612 GB, free: 7.004 MB / 398.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005693/0.78, allocations: 2.522 MB / 0.5637 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008346/0.7808, allocations: 387.2 kB / 0.5641 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/0.7887, allocations: 4.262 MB / 0.5682 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.7887, allocations: 24 kB / 0.5682 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.7887, allocations: 12 kB / 0.5682 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.7888, allocations: 19.89 kB / 0.5683 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/0.8118, allocations: 14.26 MB / 0.5822 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.8119, allocations: 15.84 kB / 0.5822 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.8137, allocations: 475.2 kB / 0.5827 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.8156, allocations: 0.6939 MB / 0.5833 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.8158, allocations: 67.98 kB / 0.5834 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008562/0.8244, allocations: 6.93 MB / 0.5902 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001688/0.8261, allocations: 1.874 MB / 0.592 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009788/0.8359, allocations: 6.706 MB / 0.5986 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.8377, allocations: 0.7929 MB / 0.5993 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008654/0.8385, allocations: 60 kB / 0.5994 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/0.8407, allocations: 163.8 kB / 0.5995 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/0.8412, allocations: 221.6 kB / 0.5997 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/0.8415, allocations: 91.98 kB / 0.5998 GB, free: 14.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004976/0.8464, allocations: 2.478 MB / 0.6023 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8465, allocations: 0 / 0.6023 GB, free: 12.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004932/0.8514, allocations: 1.292 MB / 0.6035 GB, free: 10.76 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/0.8519, allocations: 237.5 kB / 0.6037 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008018/0.8599, allocations: 5.104 MB / 0.6087 GB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8599, allocations: 0 / 0.6087 GB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.8636, allocations: 2.416 MB / 0.6111 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/0.8684, allocations: 0.9494 MB / 0.612 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.183/1.051, allocations: 14.75 MB / 0.6264 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005945/1.057, allocations: 4.5 MB / 0.6308 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004831/1.062, allocations: 1.361 MB / 0.6321 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.063, allocations: 297 kB / 0.6324 GB, free: 145.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/1.063, allocations: 0 / 0.6324 GB, free: 145.2 MB / 446.1 MB Notification: Performance of Templates: time 0.07724/1.141, allocations: 52.8 MB / 0.684 GB, free: 99.57 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)