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.001138/0.001138, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.001166/0.001166, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.521/1.521, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001528/0.001529, allocations: 55.92 kB / 280 MB, free: 3.145 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 46.62 MB / 326.6 MB, free: 4.449 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01504/0.1414, allocations: 10.89 MB / 337.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008615/0.1501, allocations: 3.666 MB / 341.2 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.1526, allocations: 55.75 kB / 341.2 MB, free: 5.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.1553, allocations: 0.8189 MB / 342.1 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.1595, allocations: 0.8658 MB / 342.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1612, allocations: 463.3 kB / 343.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004545/0.1658, allocations: 2.927 MB / 346.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/0.1692, allocations: 2.679 MB / 349 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.1716, allocations: 1.371 MB / 350.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.1745, allocations: 1.744 MB / 352.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007308/0.1753, allocations: 376 kB / 352.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1764, allocations: 471.8 kB / 352.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.1776, allocations: 1.079 MB / 354 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003105/0.1807, allocations: 1.672 MB / 355.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005642/0.1863, allocations: 4.817 MB / 360.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1864, allocations: 0 / 360.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1864, allocations: 4 kB / 360.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.1866, allocations: 4 kB / 360.5 MB, free: 2.375 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.01017/0.1967, allocations: 3.379 MB / 363.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1968, allocations: 11.89 kB / 363.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.1978, allocations: 341.1 kB / 364.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.2015, allocations: 1.694 MB / 365.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.2017, allocations: 197.3 kB / 366.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.2021, allocations: 251.9 kB / 366.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006422/0.2085, allocations: 3.275 MB / 369.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.901e-05/0.2086, allocations: 11.92 kB / 369.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.2089, allocations: 100 kB / 369.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.2091, allocations: 128.9 kB / 369.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005245/0.2143, allocations: 2.74 MB / 372.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2835/0.4979, allocations: 10.51 MB / 383.1 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.5009, allocations: 1.351 MB / 384.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.5029, allocations: 0.7757 MB / 385.3 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.5033, allocations: 208.2 kB / 385.5 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.5034, allocations: 43.38 kB / 385.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.737e-06/0.5034, allocations: 1.312 kB / 385.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.02268/0.5261, allocations: 7.031 MB / 392.5 MB, free: 42.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.5262, allocations: 67.64 kB / 392.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/0.5301, allocations: 1.797 MB / 394.4 MB, free: 41.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.5304, allocations: 46.17 kB / 394.4 MB, free: 41.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.5315, allocations: 1.276 MB / 395.7 MB, free: 40.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/0.532, allocations: 429.5 kB / 396.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006385/0.5327, allocations: 291.4 kB / 396.4 MB, free: 40.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5328, allocations: 314.3 kB / 396.7 MB, free: 40.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.5341, allocations: 0.7699 MB / 397.5 MB, free: 39.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.5356, allocations: 1.297 MB / 398.8 MB, free: 38.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/0.538, allocations: 2.217 MB / 401 MB, free: 37.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.5381, allocations: 3.969 kB / 401 MB, free: 37.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0037/0.5418, allocations: 2.47 MB / 403.5 MB, free: 35.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5418, allocations: 14.47 kB / 403.5 MB, free: 35.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.5418, allocations: 14.75 kB / 403.5 MB, free: 35.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.5424, allocations: 242.4 kB / 403.8 MB, free: 35.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.5437, allocations: 423 kB / 404.2 MB, free: 35.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.5459, allocations: 3.238 MB / 407.4 MB, free: 32.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.5475, allocations: 125.9 kB / 407.5 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.5476, allocations: 71.61 kB / 407.6 MB, free: 32.5 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.001401/0.549, allocations: 0.8287 MB / 408.4 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.5493, allocations: 190.1 kB / 408.6 MB, free: 31.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.552, allocations: 2.024 MB / 410.6 MB, free: 29.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.552, allocations: 15.98 kB / 410.6 MB, free: 29.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5521, allocations: 4 kB / 410.7 MB, free: 29.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5521, allocations: 3.984 kB / 410.7 MB, free: 29.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.5585, allocations: 4.758 MB / 415.4 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5586, allocations: 0 / 415.4 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.5596, allocations: 267.6 kB / 415.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.5601, allocations: 207.5 kB / 415.9 MB, free: 24.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.5602, allocations: 24 kB / 415.9 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.562, allocations: 3.223 MB / 419.1 MB, free: 20.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.562, allocations: 0 / 419.1 MB, free: 20.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/0.5657, allocations: 3.129 MB / 422.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.5667, allocations: 426.7 kB / 422.7 MB, free: 17.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.567, allocations: 24 kB / 422.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009799/0.568, allocations: 95.81 kB / 422.8 MB, free: 17.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.5682, allocations: 80.89 kB / 422.9 MB, free: 17.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.5682, allocations: 35.98 kB / 422.9 MB, free: 17.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001821/0.5701, allocations: 1.22 MB / 424.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5701, allocations: 0 / 424.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001895/0.572, allocations: 489 kB / 424.6 MB, free: 15.38 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.0004345/0.5724, allocations: 189 kB / 424.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004895/0.5773, allocations: 2.987 MB / 427.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.5773, allocations: 0 / 427.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.5789, allocations: 1.333 MB / 429.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.5811, allocations: 0.4956 MB / 429.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.5884, allocations: 4.916 MB / 434.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.5898, allocations: 2.006 MB / 436.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001519/0.5913, allocations: 0.496 MB / 437 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.5917, allocations: 143.3 kB / 437.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5917, allocations: 0 / 437.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Templates: time 0.05038/0.6421, allocations: 25.69 MB / 462.8 MB, free: 8.93 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)