Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001718/0.001718, allocations: 200 kB / 18.01 MB, free: 5.055 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.747/1.747, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.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.0023/0.0023, allocations: 48.39 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1334, allocations: 46.63 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.3142/0.4477, allocations: 8.953 MB / 383.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007143/0.4549, allocations: 3.205 MB / 386.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.4572, allocations: 39.19 kB / 386.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.4601, allocations: 0.7202 MB / 387.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.464, allocations: 0.7293 MB / 388.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.4653, allocations: 336.8 kB / 388.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.4692, allocations: 2.101 MB / 390.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.4713, allocations: 1.403 MB / 392 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.4735, allocations: 0.9132 MB / 392.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.4759, allocations: 1.135 MB / 394 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006895/0.4766, allocations: 230.1 kB / 394.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.4779, allocations: 316.7 kB / 394.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.479, allocations: 0.6794 MB / 395.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.4814, allocations: 1.083 MB / 396.3 MB, free: 2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.4865, allocations: 3.112 MB / 399.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4865, allocations: 0 / 399.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4865, allocations: 0 / 399.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001312/0.4867, allocations: 0 / 399.4 MB, free: 0.8828 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.00713/0.4938, allocations: 2.264 MB / 401.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4939, allocations: 13.48 kB / 401.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/0.4949, allocations: 229.8 kB / 401.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.4974, allocations: 1.157 MB / 403.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.4976, allocations: 114.9 kB / 403.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.4979, allocations: 159.4 kB / 403.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.5021, allocations: 2.006 MB / 405.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.5021, allocations: 15.06 kB / 405.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.5023, allocations: 61.44 kB / 405.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.5025, allocations: 74.17 kB / 405.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.5059, allocations: 1.649 MB / 407.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.5186, allocations: 6.896 MB / 414.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.5196, allocations: 450.9 kB / 414.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.5201, allocations: 270.4 kB / 414.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/0.5204, allocations: 115.6 kB / 414.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5205, allocations: 37.75 kB / 414.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.5205, allocations: 1.375 kB / 414.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.00791/0.5284, allocations: 3.285 MB / 418.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002502/0.5309, allocations: 2.333 MB / 420.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.5338, allocations: 1.615 MB / 422.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.534, allocations: 37.7 kB / 422.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007922/0.5348, allocations: 1.018 MB / 423.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.5351, allocations: 244.8 kB / 423.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004563/0.5355, allocations: 319.1 kB / 423.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5357, allocations: 301.1 kB / 424 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.5365, allocations: 0.5192 MB / 424.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.538, allocations: 1.468 MB / 426 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.5405, allocations: 2.13 MB / 428.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.5405, allocations: 11.94 kB / 428.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003924/0.5444, allocations: 2.161 MB / 430.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.5445, allocations: 20 kB / 430.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-05/0.5446, allocations: 32 kB / 430.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.5452, allocations: 231 kB / 430.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.5465, allocations: 399.2 kB / 431 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.5486, allocations: 1.844 MB / 432.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.5509, allocations: 139.4 kB / 433 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.5512, allocations: 95.98 kB / 433.1 MB, free: 3.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001872/0.5531, allocations: 0.5906 MB / 433.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/0.5538, allocations: 150.1 kB / 433.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.5565, allocations: 1.106 MB / 434.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5565, allocations: 11.98 kB / 434.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.5566, allocations: 3.984 kB / 434.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5566, allocations: 0 / 434.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008386/0.565, allocations: 3.394 MB / 438.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.565, allocations: 4 kB / 438.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.5655, allocations: 115.9 kB / 438.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/0.5663, allocations: 230.4 kB / 438.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.5664, allocations: 20 kB / 438.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005316/0.5717, allocations: 4.042 MB / 442.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002753/0.5745, allocations: 2.173 MB / 444.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.5779, allocations: 1.743 MB / 446.6 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.579, allocations: 307.1 kB / 446.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005711/0.5796, allocations: 28 kB / 447 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.5808, allocations: 51.97 kB / 447 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.581, allocations: 59.8 kB / 447.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-05/0.581, allocations: 32.3 kB / 447.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00272/0.5838, allocations: 1.066 MB / 448.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5838, allocations: 0 / 448.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002844/0.5866, allocations: 384 kB / 448.6 MB, free: 2.879 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005503/0.5872, allocations: 171 kB / 448.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.5905, allocations: 1.61 MB / 450.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.5906, allocations: 0 / 450.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.592, allocations: 0.8635 MB / 451.2 MB, free: 140 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.595, allocations: 415 kB / 451.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/0.6017, allocations: 3.165 MB / 454.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.6036, allocations: 1.472 MB / 456.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001294/0.6049, allocations: 350 kB / 456.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.6054, allocations: 115.4 kB / 456.7 MB, free: 10.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6054, allocations: 0 / 456.7 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Templates: time 0.0454/0.6508, allocations: 20.87 MB / 477.6 MB, free: 5.59 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)