Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001166/0.001166, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001437/0.001437, allocations: 177.3 kB / 15.94 MB, free: 228 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.335/1.335, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004795/0.0004796, allocations: 18.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 47.57 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0267/0.2442, allocations: 24.11 MB / 350.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.262, allocations: 8.3 MB / 358.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004813/0.2668, allocations: 155.5 kB / 359 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004694/0.2715, allocations: 1.574 MB / 360.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008597/0.2802, allocations: 3.073 MB / 363.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.2838, allocations: 1.302 MB / 365 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.2954, allocations: 7.271 MB / 372.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01737/0.3128, allocations: 9.892 MB / 382.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.3175, allocations: 2.897 MB / 385 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00461/0.3221, allocations: 3.245 MB / 388.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3232, allocations: 472 kB / 388.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.3252, allocations: 0.7495 MB / 389.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.3265, allocations: 1.491 MB / 391 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.3282, allocations: 1.584 MB / 392.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.3403, allocations: 13.01 MB / 405.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3403, allocations: 0 / 405.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3403, allocations: 4 kB / 405.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003123/0.3406, allocations: 0 / 405.6 MB, free: 4.117 MB / 334.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.02059/0.3612, allocations: 8.195 MB / 413.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3613, allocations: 8.031 kB / 413.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02861/0.3899, allocations: 5.184 MB / 419 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.4, allocations: 4.615 MB / 423.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/0.4005, allocations: 0.5377 MB / 424.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.4022, allocations: 0.703 MB / 424.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.4232, allocations: 11.2 MB / 436 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/0.4234, allocations: 15.91 kB / 436.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007926/0.4242, allocations: 292 kB / 436.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/0.4246, allocations: 446.9 kB / 436.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.444, allocations: 10.74 MB / 447.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2062/0.6503, allocations: 38.02 MB / 485.5 MB, free: 79.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.6636, allocations: 28.07 MB / 0.5016 GB, free: 51.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.6755, allocations: 7.915 MB / 0.5093 GB, free: 45.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.6756, allocations: 60.56 kB / 0.5094 GB, free: 45.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=222): time 4.388e-06/0.6756, allocations: 4 kB / 0.5094 GB, free: 45.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.01661/0.6923, allocations: 10.39 MB / 0.5195 GB, free: 34.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001504/0.6938, allocations: 1.936 MB / 0.5214 GB, free: 32.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005315/0.6991, allocations: 3.684 MB / 0.525 GB, free: 28.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.6994, allocations: 61.7 kB / 0.5251 GB, free: 28.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.7011, allocations: 3.559 MB / 0.5285 GB, free: 25.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/0.7017, allocations: 0.8431 MB / 0.5294 GB, free: 24.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.7021, allocations: 103.9 kB / 0.5295 GB, free: 24.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.7023, allocations: 0.497 MB / 0.5299 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.7049, allocations: 1.891 MB / 0.5318 GB, free: 21.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.7083, allocations: 4.434 MB / 0.5361 GB, free: 16.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.7118, allocations: 2.852 MB / 0.5389 GB, free: 13.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.449e-05/0.7119, allocations: 28 kB / 0.5389 GB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=640) (initialization): time 0.01021/0.7221, allocations: 7.034 MB / 0.5458 GB, free: 6.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.7222, allocations: 44 kB / 0.5458 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.7223, allocations: 88 kB / 0.5459 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.7242, allocations: 0.7519 MB / 0.5467 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/0.7277, allocations: 1.139 MB / 0.5478 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.7341, allocations: 5.389 MB / 0.553 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/0.7381, allocations: 319.1 kB / 0.5533 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/0.7389, allocations: 276 kB / 0.5536 GB, free: 14.13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 403 * 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 (603): * Single equations (assignments): 600 * 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.00483/0.7437, allocations: 2.53 MB / 0.5561 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009404/0.7446, allocations: 391.2 kB / 0.5564 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008003/0.7527, allocations: 4.302 MB / 0.5606 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.7527, allocations: 27.94 kB / 0.5607 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7527, allocations: 8 kB / 0.5607 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/0.7528, allocations: 11.95 kB / 0.5607 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/0.7788, allocations: 14.32 MB / 0.5747 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.7789, allocations: 15.98 kB / 0.5747 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/0.7809, allocations: 495.2 kB / 0.5752 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/0.783, allocations: 0.6861 MB / 0.5758 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.7832, allocations: 71.98 kB / 0.5759 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00897/0.7922, allocations: 7.101 MB / 0.5828 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001698/0.794, allocations: 1.87 MB / 0.5847 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.8049, allocations: 8.12 MB / 0.5926 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.807, allocations: 0.7968 MB / 0.5934 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008034/0.8078, allocations: 63.98 kB / 0.5934 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.81, allocations: 167.8 kB / 0.5936 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/0.8104, allocations: 229.4 kB / 0.5938 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.8106, allocations: 87.98 kB / 0.5939 GB, free: 3.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004058/0.8147, allocations: 2.4 MB / 0.5962 GB, free: 1.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.8147, allocations: 0 / 0.5962 GB, free: 1.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004851/0.8195, allocations: 1.289 MB / 0.5975 GB, free: 15.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (249): * Single equations (assignments): 246 * 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.0005013/0.8201, allocations: 232.4 kB / 0.5977 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007852/0.8279, allocations: 5.167 MB / 0.6028 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.828, allocations: 4.188 kB / 0.6028 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003715/0.8317, allocations: 2.429 MB / 0.6051 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/0.8359, allocations: 0.9066 MB / 0.606 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1694/1.005, allocations: 14.74 MB / 0.6204 GB, free: 152.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004995/1.01, allocations: 4.627 MB / 0.6249 GB, free: 151.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004547/1.015, allocations: 1.405 MB / 0.6263 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/1.016, allocations: 294 kB / 0.6266 GB, free: 151.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/1.016, allocations: 2 kB / 0.6266 GB, free: 151.1 MB / 446.1 MB Notification: Performance of Templates: time 0.07882/1.095, allocations: 51.79 MB / 0.6772 GB, free: 105.7 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) Environment - environmentSimulation: