Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01424/0.01424, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.002765/0.002765, allocations: 199 kB / 16.67 MB, free: 5.977 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.914/1.914, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.002476/0.002476, allocations: 47.78 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1279, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01324/0.1412, allocations: 8.953 MB / 382.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009328/0.1506, allocations: 3.21 MB / 385.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.1528, allocations: 39.81 kB / 385.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.1557, allocations: 0.7186 MB / 386.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.1603, allocations: 0.7419 MB / 386.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.162, allocations: 323.5 kB / 387.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.1661, allocations: 2.105 MB / 389.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.1683, allocations: 1.405 MB / 390.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.1706, allocations: 0.9186 MB / 391.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.173, allocations: 1.121 MB / 392.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.1744, allocations: 232 kB / 392.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.1762, allocations: 319.8 kB / 393.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.1775, allocations: 0.6739 MB / 393.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002398/0.1799, allocations: 1.081 MB / 395 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.1849, allocations: 3.115 MB / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1849, allocations: 0 / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1849, allocations: 0 / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.1851, allocations: 4 kB / 398.1 MB, free: 8.203 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006507/0.1916, allocations: 2.261 MB / 400.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1917, allocations: 11.89 kB / 400.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008762/0.1926, allocations: 230.4 kB / 400.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.1952, allocations: 1.161 MB / 401.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.1953, allocations: 111.5 kB / 401.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.1956, allocations: 155.9 kB / 402 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/0.1993, allocations: 2.004 MB / 404 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.1993, allocations: 7.906 kB / 404 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.1995, allocations: 64 kB / 404.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.749e-05/0.1996, allocations: 78.91 kB / 404.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.2024, allocations: 1.643 MB / 405.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.2154, allocations: 6.905 MB / 412.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2166, allocations: 452.5 kB / 413.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.217, allocations: 262.6 kB / 413.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.2173, allocations: 117.5 kB / 413.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.2173, allocations: 46.94 kB / 413.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.546e-06/0.2173, allocations: 0 / 413.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.008867/0.2262, allocations: 3.284 MB / 416.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003626/0.2299, allocations: 2.338 MB / 419.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.2333, allocations: 1.615 MB / 420.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.2335, allocations: 33.7 kB / 420.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.235, allocations: 1.018 MB / 421.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.2353, allocations: 240.8 kB / 422.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004879/0.2358, allocations: 319.1 kB / 422.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2359, allocations: 309.2 kB / 422.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/0.2368, allocations: 0.5153 MB / 423.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.2387, allocations: 1.464 MB / 424.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.242, allocations: 2.141 MB / 426.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/0.2421, allocations: 12 kB / 426.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004337/0.2464, allocations: 2.154 MB / 429 MB, free: 7.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.2465, allocations: 20 kB / 429 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.2465, allocations: 32 kB / 429.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.2471, allocations: 230.5 kB / 429.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.2483, allocations: 395.2 kB / 429.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.2505, allocations: 1.843 MB / 431.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.2524, allocations: 143.4 kB / 431.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.2525, allocations: 99.98 kB / 431.8 MB, free: 4.609 MB / 366.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.0014/0.2539, allocations: 0.5905 MB / 432.4 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.2544, allocations: 150.4 kB / 432.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.2565, allocations: 1.114 MB / 433.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.2565, allocations: 4 kB / 433.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2566, allocations: 0 / 433.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2566, allocations: 11.92 kB / 433.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006964/0.2635, allocations: 3.386 MB / 437 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.2636, allocations: 8 kB / 437 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.2641, allocations: 111.8 kB / 437.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006994/0.2648, allocations: 222.4 kB / 437.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.2649, allocations: 16.22 kB / 437.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004684/0.2696, allocations: 4.05 MB / 441.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002415/0.272, allocations: 2.174 MB / 443.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.2754, allocations: 1.747 MB / 445.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.2765, allocations: 303.3 kB / 445.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/0.2769, allocations: 27.92 kB / 445.7 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.278, allocations: 47.94 kB / 445.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.2782, allocations: 71.8 kB / 445.8 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.2783, allocations: 20 kB / 445.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.2809, allocations: 1.07 MB / 446.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2809, allocations: 0 / 446.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002406/0.2833, allocations: 387.9 kB / 447.2 MB, free: 4.387 MB / 382.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.0003999/0.2837, allocations: 167 kB / 447.4 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003395/0.2871, allocations: 1.609 MB / 449 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.2872, allocations: 4 kB / 449 MB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.2887, allocations: 0.863 MB / 449.9 MB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.2914, allocations: 401.6 kB / 450.3 MB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2506/0.542, allocations: 3.163 MB / 453.4 MB, free: 69.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.5433, allocations: 1.473 MB / 454.9 MB, free: 68.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001478/0.5448, allocations: 349.9 kB / 455.3 MB, free: 68.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.5452, allocations: 113.4 kB / 455.4 MB, free: 68.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.014e-06/0.5452, allocations: 0 / 455.4 MB, free: 68.56 MB / 382.1 MB Notification: Performance of Templates: time 0.03557/0.5808, allocations: 20.87 MB / 476.2 MB, free: 58.49 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)