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.001459/0.001459, allocations: 116.1 kB / 16.63 MB, free: 6.941 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.001382/0.001382, allocations: 193.9 kB / 17.55 MB, free: 6.039 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.807/1.807, allocations: 205.1 MB / 223.4 MB, free: 12.39 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.001229/0.001229, allocations: 43.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 46.63 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01573/0.1473, allocations: 8.909 MB / 335.1 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009767/0.1572, allocations: 3.171 MB / 338.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.1597, allocations: 31.88 kB / 338.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.1627, allocations: 0.61 MB / 338.9 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.1662, allocations: 0.6216 MB / 339.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1673, allocations: 291.7 kB / 339.8 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.171, allocations: 2.101 MB / 341.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.1733, allocations: 1.405 MB / 343.3 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.1757, allocations: 0.9069 MB / 344.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.1779, allocations: 1.152 MB / 345.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004024/0.1783, allocations: 232 kB / 345.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.1791, allocations: 331.8 kB / 345.9 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.1798, allocations: 0.6701 MB / 346.6 MB, free: 228 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.1811, allocations: 1.089 MB / 347.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.1849, allocations: 3.076 MB / 350.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1849, allocations: 0 / 350.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.1849, allocations: 4 kB / 350.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.765e-05/0.185, allocations: 0 / 350.7 MB, free: 12.04 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.005508/0.1905, allocations: 2.265 MB / 353 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.1906, allocations: 11.89 kB / 353 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.1914, allocations: 226.5 kB / 353.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.1937, allocations: 1.149 MB / 354.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.1939, allocations: 115.5 kB / 354.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.1941, allocations: 163.8 kB / 354.6 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.198, allocations: 2.004 MB / 356.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.198, allocations: 8 kB / 356.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.1982, allocations: 60 kB / 356.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.1983, allocations: 78.91 kB / 356.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.2013, allocations: 1.643 MB / 358.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.2132, allocations: 6.956 MB / 365.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.2141, allocations: 440.8 kB / 365.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.2145, allocations: 270 kB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.2147, allocations: 109.5 kB / 366.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.2148, allocations: 42.98 kB / 366.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 4.088e-06/0.2148, allocations: 0 / 366.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.008017/0.2228, allocations: 3.285 MB / 369.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002936/0.2258, allocations: 2.33 MB / 371.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.2284, allocations: 1.619 MB / 373.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.2286, allocations: 33.7 kB / 373.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009327/0.2295, allocations: 1.018 MB / 374.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.2299, allocations: 240.8 kB / 374.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000476/0.2304, allocations: 323.1 kB / 375.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2305, allocations: 305.1 kB / 375.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/0.2313, allocations: 0.5192 MB / 375.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.233, allocations: 1.465 MB / 377.4 MB, free: 100 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2341/0.4671, allocations: 2.129 MB / 379.5 MB, free: 49.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.4671, allocations: 13.94 kB / 379.5 MB, free: 49.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003939/0.4711, allocations: 2.162 MB / 381.7 MB, free: 48.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.4711, allocations: 19.22 kB / 381.7 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.4712, allocations: 32.53 kB / 381.7 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005386/0.4717, allocations: 225.7 kB / 381.9 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4728, allocations: 400.2 kB / 382.3 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.4742, allocations: 1.85 MB / 384.2 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4756, allocations: 139.2 kB / 384.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.4758, allocations: 95.88 kB / 384.4 MB, free: 46.95 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.0008819/0.4766, allocations: 0.5892 MB / 385 MB, free: 46.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.4769, allocations: 148.5 kB / 385.1 MB, free: 46.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.4788, allocations: 1.113 MB / 386.2 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4788, allocations: 6.875 kB / 386.3 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4788, allocations: 1.062 kB / 386.3 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4788, allocations: 3.141 kB / 386.3 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.4842, allocations: 3.394 MB / 389.7 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4842, allocations: 4.859 kB / 389.7 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.4846, allocations: 111.9 kB / 389.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006047/0.4852, allocations: 224.1 kB / 390 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.4853, allocations: 20.06 kB / 390 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/0.4884, allocations: 4.068 MB / 394.1 MB, free: 41.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001516/0.49, allocations: 2.178 MB / 396.3 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.4926, allocations: 1.744 MB / 398 MB, free: 38.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/0.4932, allocations: 308.1 kB / 398.3 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4933, allocations: 16.25 kB / 398.3 MB, free: 38.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.494, allocations: 49.3 kB / 398.4 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.4941, allocations: 65.42 kB / 398.4 MB, free: 38.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.4942, allocations: 23 kB / 398.4 MB, free: 38.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001501/0.4957, allocations: 1.07 MB / 399.5 MB, free: 37.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4957, allocations: 3.781 kB / 399.5 MB, free: 37.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001705/0.4974, allocations: 379 kB / 399.9 MB, free: 37.65 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.0003068/0.4977, allocations: 181.4 kB / 400.1 MB, free: 37.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.5001, allocations: 1.707 MB / 401.8 MB, free: 36.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5001, allocations: 0.9375 kB / 401.8 MB, free: 36.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5012, allocations: 0.8507 MB / 402.6 MB, free: 36.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.5031, allocations: 416.4 kB / 403 MB, free: 35.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.5079, allocations: 3.836 MB / 406.9 MB, free: 32.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007717/0.5087, allocations: 1.469 MB / 408.3 MB, free: 30.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.5097, allocations: 350 kB / 408.7 MB, free: 30.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.51, allocations: 119.4 kB / 408.8 MB, free: 30.52 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.51, allocations: 0 / 408.8 MB, free: 30.52 MB / 318.1 MB Notification: Performance of Templates: time 0.03405/0.544, allocations: 20.42 MB / 429.2 MB, free: 10.11 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)