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.00149/0.00149, allocations: 109 kB / 16.51 MB, free: 6.707 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.001501/0.001501, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.612/1.612, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001322/0.001312, allocations: 47.92 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01097/0.1173, allocations: 8.917 MB / 334.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.1236, allocations: 3.183 MB / 338.1 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1252, allocations: 35.81 kB / 338.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1277, allocations: 0.6022 MB / 338.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.1306, allocations: 0.6217 MB / 339.3 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1317, allocations: 291.7 kB / 339.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003822/0.1356, allocations: 2.425 MB / 342 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.1376, allocations: 1.168 MB / 343.2 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.1394, allocations: 0.8014 MB / 344 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.1417, allocations: 1.097 MB / 345.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006233/0.1423, allocations: 140 kB / 345.2 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1434, allocations: 239.8 kB / 345.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008011/0.1442, allocations: 0.5919 MB / 346.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.1456, allocations: 0.9873 MB / 347 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.149, allocations: 3.014 MB / 350.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.149, allocations: 0 / 350.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.149, allocations: 0 / 350.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.553e-05/0.1491, allocations: 0 / 350.1 MB, free: 12.64 MB / 302.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.004601/0.1537, allocations: 2.258 MB / 352.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1537, allocations: 12.03 kB / 352.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/0.1545, allocations: 230.5 kB / 352.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.1565, allocations: 1.149 MB / 353.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.1567, allocations: 111.5 kB / 353.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.157, allocations: 159.8 kB / 354 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.1603, allocations: 2.004 MB / 356 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/0.1604, allocations: 7.984 kB / 356 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.1606, allocations: 64 kB / 356 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.746e-05/0.1607, allocations: 74.92 kB / 356.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.1634, allocations: 1.647 MB / 357.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.1736, allocations: 6.944 MB / 364.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/0.1744, allocations: 452.5 kB / 365.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.1748, allocations: 262 kB / 365.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.175, allocations: 117.5 kB / 365.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1751, allocations: 43.41 kB / 365.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 3.026e-06/0.1751, allocations: 0 / 365.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007619/0.1827, allocations: 3.276 MB / 368.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00271/0.1854, allocations: 2.17 MB / 371 MB, free: 6.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.1885, allocations: 1.619 MB / 372.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.1886, allocations: 41.7 kB / 372.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.1895, allocations: 1.018 MB / 373.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.1898, allocations: 240.8 kB / 373.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.1903, allocations: 315.2 kB / 374.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1904, allocations: 305.1 kB / 374.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008973/0.1913, allocations: 0.5153 MB / 375 MB, free: 2.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.193, allocations: 1.465 MB / 376.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2298/0.4228, allocations: 2.14 MB / 378.7 MB, free: 49.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/0.4229, allocations: 9.625 kB / 378.7 MB, free: 49.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004416/0.4273, allocations: 2.162 MB / 380.8 MB, free: 49.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.4274, allocations: 22.81 kB / 380.8 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/0.4274, allocations: 32.78 kB / 380.9 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/0.4281, allocations: 222.9 kB / 381.1 MB, free: 48.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.4294, allocations: 399.6 kB / 381.5 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.4311, allocations: 1.71 MB / 383.2 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.4332, allocations: 136.7 kB / 383.3 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4334, allocations: 99.41 kB / 383.4 MB, free: 47.47 MB / 318.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.001083/0.4345, allocations: 0.5884 MB / 384 MB, free: 47.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.4348, allocations: 155 kB / 384.2 MB, free: 47.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.437, allocations: 1.111 MB / 385.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.437, allocations: 7.703 kB / 385.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.437, allocations: 1.125 kB / 385.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.437, allocations: 7.656 kB / 385.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.4434, allocations: 3.393 MB / 388.7 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.4434, allocations: 8.656 kB / 388.7 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.4439, allocations: 108.3 kB / 388.8 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007377/0.4446, allocations: 228.1 kB / 389 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.4447, allocations: 17.8 kB / 389 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/0.4483, allocations: 3.708 MB / 392.7 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001602/0.4499, allocations: 2.019 MB / 394.8 MB, free: 40.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.4527, allocations: 1.747 MB / 396.5 MB, free: 39.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009677/0.4537, allocations: 308 kB / 396.8 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/0.4543, allocations: 16.36 kB / 396.8 MB, free: 39.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.4553, allocations: 47.69 kB / 396.9 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.4555, allocations: 64.7 kB / 396.9 MB, free: 39.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.4556, allocations: 25.52 kB / 397 MB, free: 39.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.4579, allocations: 1.071 MB / 398 MB, free: 38.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4579, allocations: 0 / 398 MB, free: 38.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002391/0.4603, allocations: 387 kB / 398.4 MB, free: 38.62 MB / 318.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.0003914/0.4607, allocations: 169.5 kB / 398.6 MB, free: 38.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002642/0.4634, allocations: 1.598 MB / 400.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/0.4634, allocations: 4.906 kB / 400.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.4647, allocations: 0.8476 MB / 401 MB, free: 37.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.4675, allocations: 393.8 kB / 401.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.4736, allocations: 3.839 MB / 405.3 MB, free: 34.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.4751, allocations: 1.47 MB / 406.7 MB, free: 32.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00129/0.4764, allocations: 351 kB / 407.1 MB, free: 32.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.4768, allocations: 119.4 kB / 407.2 MB, free: 32.09 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4768, allocations: 0 / 407.2 MB, free: 32.09 MB / 318.1 MB Notification: Performance of Templates: time 0.03785/0.5146, allocations: 19.57 MB / 426.8 MB, free: 12.52 MB / 318.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)