Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.00145/0.001451, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001845/0.001845, allocations: 187.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001246/0.001246, allocations: 44.22 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3557, allocations: 46.63 MB / 324.9 MB, free: 2.066 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01269/0.3684, allocations: 8.911 MB / 333.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007891/0.3764, allocations: 3.164 MB / 336.9 MB, free: 8.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.3785, allocations: 39.81 kB / 337 MB, free: 8.062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.381, allocations: 0.6022 MB / 337.6 MB, free: 7.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.3842, allocations: 0.6295 MB / 338.2 MB, free: 6.824 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009457/0.3851, allocations: 291.6 kB / 338.5 MB, free: 6.539 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.3887, allocations: 2.105 MB / 340.6 MB, free: 4.426 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.3909, allocations: 1.409 MB / 342 MB, free: 2.969 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.3929, allocations: 0.9069 MB / 342.9 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.3947, allocations: 1.152 MB / 344.1 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.3951, allocations: 236 kB / 344.3 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.3957, allocations: 319.8 kB / 344.6 MB, free: 368 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.3964, allocations: 0.6817 MB / 345.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.3978, allocations: 1.077 MB / 346.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.4013, allocations: 3.08 MB / 349.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4013, allocations: 4 kB / 349.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4013, allocations: 0 / 349.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.224e-05/0.4014, allocations: 0 / 349.4 MB, free: 11.5 MB / 286.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.004996/0.4064, allocations: 2.261 MB / 351.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4065, allocations: 15.89 kB / 351.7 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.4072, allocations: 226.5 kB / 351.9 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.4091, allocations: 1.157 MB / 353.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.798e-05/0.4092, allocations: 111.5 kB / 353.2 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.4094, allocations: 155.8 kB / 353.4 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.4129, allocations: 2.004 MB / 355.4 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.4129, allocations: 4 kB / 355.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.4131, allocations: 64 kB / 355.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.4132, allocations: 78.91 kB / 355.5 MB, free: 5.266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.4162, allocations: 1.647 MB / 357.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.4286, allocations: 6.94 MB / 364.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.4295, allocations: 448.5 kB / 364.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.4299, allocations: 258 kB / 364.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.4302, allocations: 113.5 kB / 364.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4302, allocations: 39.41 kB / 364.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.725e-06/0.4302, allocations: 4 kB / 364.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.008576/0.4388, allocations: 3.292 MB / 368.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002704/0.4415, allocations: 2.322 MB / 370.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.4444, allocations: 1.623 MB / 372.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.4446, allocations: 37.7 kB / 372.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/0.4454, allocations: 1.018 MB / 373.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.4457, allocations: 240.8 kB / 373.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004762/0.4462, allocations: 319.1 kB / 373.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4463, allocations: 309.1 kB / 374.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008171/0.4472, allocations: 0.5192 MB / 374.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4487, allocations: 1.457 MB / 376.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.4512, allocations: 2.153 MB / 378.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.4513, allocations: 8 kB / 378.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003657/0.4549, allocations: 2.157 MB / 380.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.455, allocations: 20.97 kB / 380.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/0.4551, allocations: 35.98 kB / 380.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.4556, allocations: 226.4 kB / 380.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.4567, allocations: 395.3 kB / 381 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.4584, allocations: 1.851 MB / 382.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.46, allocations: 135.4 kB / 383 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.4602, allocations: 95.98 kB / 383.1 MB, free: 7.879 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.001022/0.4612, allocations: 0.5906 MB / 383.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.4615, allocations: 154 kB / 383.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.4636, allocations: 1.114 MB / 385 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4636, allocations: 8 kB / 385 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4636, allocations: 4 kB / 385 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4636, allocations: 3.984 kB / 385 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/0.4698, allocations: 3.378 MB / 388.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.4698, allocations: 12.66 kB / 388.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.4703, allocations: 111.8 kB / 388.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006976/0.471, allocations: 222.4 kB / 388.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.4711, allocations: 20 kB / 388.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.4753, allocations: 4.061 MB / 392.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002021/0.4773, allocations: 2.166 MB / 395 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.48, allocations: 1.75 MB / 396.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/0.4808, allocations: 307.1 kB / 397 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.481, allocations: 23.92 kB / 397 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.4817, allocations: 43.95 kB / 397.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4818, allocations: 71.8 kB / 397.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.4819, allocations: 24 kB / 397.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001612/0.4835, allocations: 1.07 MB / 398.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.4835, allocations: 7.938 kB / 398.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00195/0.4855, allocations: 384 kB / 398.6 MB, free: 7.641 MB / 334.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.0004005/0.4859, allocations: 171.1 kB / 398.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.4888, allocations: 1.703 MB / 400.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4888, allocations: 8.375 kB / 400.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.49, allocations: 0.8555 MB / 401.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.4922, allocations: 413.2 kB / 401.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.4994, allocations: 3.83 MB / 405.6 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.5009, allocations: 1.472 MB / 407.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001322/0.5022, allocations: 350 kB / 407.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.5025, allocations: 115.4 kB / 407.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.657e-06/0.5025, allocations: 0 / 407.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of Templates: time 0.04699/0.5495, allocations: 20.41 MB / 427.9 MB, free: 10.05 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)