Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 109.5 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.00315/0.00315, 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.517/1.517, 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.001776/0.001776, allocations: 51.92 kB / 279.4 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 46.61 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01731/0.1667, allocations: 10.79 MB / 336.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.1779, allocations: 3.646 MB / 340.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.182, allocations: 51.75 kB / 340.5 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.1861, allocations: 0.7186 MB / 341.2 MB, free: 5.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.1919, allocations: 0.7693 MB / 341.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1938, allocations: 407.6 kB / 342.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006393/0.2002, allocations: 3.27 MB / 345.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/0.2034, allocations: 2.255 MB / 347.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.2066, allocations: 1.199 MB / 349.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.21, allocations: 1.685 MB / 350.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006359/0.2107, allocations: 232 kB / 351 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.2119, allocations: 347.8 kB / 351.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.2131, allocations: 0.9307 MB / 352.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.2155, allocations: 1.52 MB / 353.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005394/0.2209, allocations: 4.708 MB / 358.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2209, allocations: 4 kB / 358.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2209, allocations: 4 kB / 358.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001224/0.221, allocations: 3.938 kB / 358.5 MB, free: 4.172 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007575/0.2286, allocations: 3.386 MB / 361.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2287, allocations: 12.03 kB / 361.9 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.2296, allocations: 333.1 kB / 362.2 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.2327, allocations: 1.694 MB / 363.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.233, allocations: 197.3 kB / 364.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.2334, allocations: 247.9 kB / 364.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006187/0.2396, allocations: 3.283 MB / 367.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-05/0.2397, allocations: 4 kB / 367.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.2399, allocations: 104 kB / 367.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.2401, allocations: 120.9 kB / 367.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004981/0.2451, allocations: 2.752 MB / 370.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3229/0.568, allocations: 10.52 MB / 381.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.5703, allocations: 1.347 MB / 382.5 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.5718, allocations: 0.7825 MB / 383.2 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.5722, allocations: 204.9 kB / 383.4 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.5722, allocations: 44.69 kB / 383.5 MB, free: 46.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.5723, allocations: 2.188 kB / 383.5 MB, free: 46.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01937/0.5916, allocations: 7.024 MB / 390.5 MB, free: 43.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.5917, allocations: 64.22 kB / 390.6 MB, free: 43.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.5958, allocations: 1.791 MB / 392.4 MB, free: 43.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.5959, allocations: 46.23 kB / 392.4 MB, free: 43.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.5971, allocations: 1.283 MB / 393.7 MB, free: 42.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.5975, allocations: 427.9 kB / 394.1 MB, free: 41.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.5981, allocations: 298.1 kB / 394.4 MB, free: 41.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.5982, allocations: 301.1 kB / 394.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.5995, allocations: 0.7722 MB / 395.5 MB, free: 41.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.601, allocations: 1.294 MB / 396.8 MB, free: 40.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.6039, allocations: 2.218 MB / 399 MB, free: 38.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.6039, allocations: 4.094 kB / 399 MB, free: 38.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004659/0.6086, allocations: 2.474 MB / 401.5 MB, free: 37.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.6086, allocations: 13.38 kB / 401.5 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.6087, allocations: 20.88 kB / 401.5 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/0.6094, allocations: 240.7 kB / 401.7 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.6108, allocations: 415 kB / 402.1 MB, free: 37.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.6134, allocations: 3.004 MB / 405.1 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.6154, allocations: 130.1 kB / 405.3 MB, free: 34.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.6155, allocations: 74.7 kB / 405.3 MB, free: 34.21 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002088/0.6176, allocations: 0.8273 MB / 406.2 MB, free: 33.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.6181, allocations: 181.1 kB / 406.3 MB, free: 33.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.6214, allocations: 2.036 MB / 408.4 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.6214, allocations: 13.31 kB / 408.4 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6214, allocations: 0 / 408.4 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6214, allocations: 3.984 kB / 408.4 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007486/0.6289, allocations: 4.76 MB / 413.2 MB, free: 27.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.629, allocations: 7.984 kB / 413.2 MB, free: 27.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.63, allocations: 255.9 kB / 413.4 MB, free: 26.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005673/0.6306, allocations: 203.3 kB / 413.6 MB, free: 26.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6307, allocations: 24 kB / 413.6 MB, free: 26.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.6329, allocations: 2.985 MB / 416.6 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.6329, allocations: 4.031 kB / 416.6 MB, free: 23.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/0.637, allocations: 3.125 MB / 419.8 MB, free: 20.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009936/0.638, allocations: 430.6 kB / 420.2 MB, free: 19.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/0.6387, allocations: 27.94 kB / 420.2 MB, free: 19.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.6401, allocations: 91.88 kB / 420.3 MB, free: 19.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.6404, allocations: 84.83 kB / 420.4 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.6405, allocations: 35.98 kB / 420.4 MB, free: 19.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002654/0.6431, allocations: 1.224 MB / 421.6 MB, free: 18.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6431, allocations: 0 / 421.6 MB, free: 18.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003219/0.6464, allocations: 486.6 kB / 422.1 MB, free: 17.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007268/0.6471, allocations: 196.6 kB / 422.3 MB, free: 17.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004536/0.6517, allocations: 2.34 MB / 424.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.6517, allocations: 0 / 424.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.6535, allocations: 1.327 MB / 426 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.6573, allocations: 469.7 kB / 426.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.6697, allocations: 6.025 MB / 432.5 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/0.6731, allocations: 2.014 MB / 434.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.002567/0.6757, allocations: 499.9 kB / 435 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/0.6766, allocations: 139.4 kB / 435.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of SimCode: time 2.054e-06/0.6767, allocations: 4 kB / 435.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Templates: time 0.06363/0.7403, allocations: 24.77 MB / 459.9 MB, free: 11.8 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)