Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007318/0.007318, allocations: 165.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.233/1.233, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001557/0.001556, allocations: 110.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003808, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 38.77 MB / 312.9 MB, free: 38.82 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3405, allocations: 99.75 MB / 412.6 MB, free: 6.691 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.3408, allocations: 87.95 kB / 412.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2838/0.6246, allocations: 51.16 MB / 463.9 MB, free: 61.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-06/0.6247, allocations: 3.984 kB / 463.9 MB, free: 61.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003929/0.6251, allocations: 71.94 kB / 464 MB, free: 60.97 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.01049/0.6356, allocations: 2.809 MB / 466.8 MB, free: 58.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.855e-05/0.6357, allocations: 8.031 kB / 466.8 MB, free: 58.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.6383, allocations: 344.6 kB / 467.1 MB, free: 57.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/0.6442, allocations: 1.739 MB / 468.9 MB, free: 55.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.6445, allocations: 197 kB / 469 MB, free: 55.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.6456, allocations: 247.9 kB / 469.3 MB, free: 55.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/0.6517, allocations: 3.232 MB / 472.5 MB, free: 52.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.6518, allocations: 15.92 kB / 472.5 MB, free: 52.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.6521, allocations: 104 kB / 472.6 MB, free: 52.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.811e-05/0.6522, allocations: 116.9 kB / 472.8 MB, free: 51.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.6558, allocations: 2.573 MB / 475.3 MB, free: 49.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.6698, allocations: 10.36 MB / 485.7 MB, free: 38.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.6715, allocations: 1.405 MB / 487.1 MB, free: 37.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.6718, allocations: 142 kB / 487.2 MB, free: 36.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.6718, allocations: 39.56 kB / 487.3 MB, free: 36.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=101): time 3.627e-06/0.6719, allocations: 0 / 487.3 MB, free: 36.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.01487/0.6867, allocations: 6.996 MB / 494.3 MB, free: 29.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.6868, allocations: 64.72 kB / 494.3 MB, free: 29.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.6891, allocations: 1.424 MB / 495.8 MB, free: 28.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.6893, allocations: 45.7 kB / 495.8 MB, free: 28.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/0.6899, allocations: 1.244 MB / 497 MB, free: 27.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.6902, allocations: 457.5 kB / 497.5 MB, free: 26.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.6903, allocations: 31.94 kB / 497.5 MB, free: 26.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6905, allocations: 377.9 kB / 497.9 MB, free: 26.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.6916, allocations: 0.7925 MB / 498.7 MB, free: 25.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.6929, allocations: 1.307 MB / 500 MB, free: 23.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6941, allocations: 1.013 MB / 0.4893 GB, free: 22.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.6941, allocations: 12 kB / 0.4893 GB, free: 22.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=209) (initialization): time 0.003528/0.6977, allocations: 2.513 MB / 0.4917 GB, free: 20.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.6977, allocations: 14.19 kB / 0.4917 GB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.6978, allocations: 16 kB / 0.4918 GB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.6984, allocations: 239.6 kB / 0.492 GB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.6999, allocations: 443.3 kB / 0.4924 GB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.7021, allocations: 3.048 MB / 0.4954 GB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.7037, allocations: 123.8 kB / 0.4955 GB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.7038, allocations: 83.94 kB / 0.4956 GB, free: 16.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001696/0.7055, allocations: 0.8096 MB / 0.4964 GB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.706, allocations: 189.6 kB / 0.4965 GB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.709, allocations: 2.113 MB / 0.4986 GB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.709, allocations: 12 kB / 0.4986 GB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.709, allocations: 4 kB / 0.4986 GB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7091, allocations: 3.984 kB / 0.4986 GB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007269/0.7163, allocations: 4.785 MB / 0.5033 GB, free: 8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7164, allocations: 288 / 0.5033 GB, free: 8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.7175, allocations: 287.6 kB / 0.5036 GB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/0.7181, allocations: 203.2 kB / 0.5038 GB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.7181, allocations: 24 kB / 0.5038 GB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.7199, allocations: 3.018 MB / 0.5067 GB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7199, allocations: 7.953 kB / 0.5068 GB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.7238, allocations: 3.383 MB / 0.5101 GB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009823/0.7248, allocations: 430.5 kB / 0.5105 GB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.7251, allocations: 24 kB / 0.5105 GB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7262, allocations: 99.86 kB / 0.5106 GB, free: 140 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.7264, allocations: 84.89 kB / 0.5107 GB, free: 52 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.7265, allocations: 36 kB / 0.5107 GB, free: 16 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002034/0.7285, allocations: 1.094 MB / 0.5118 GB, free: 14.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7285, allocations: 0 / 0.5118 GB, free: 14.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002081/0.7306, allocations: 0.5117 MB / 0.5123 GB, free: 14.41 MB / 330.7 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 (127): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006512/0.7313, allocations: 397.5 kB / 0.5126 GB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003643/0.7349, allocations: 2.403 MB / 0.515 GB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.735, allocations: 448 / 0.515 GB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.7368, allocations: 1.373 MB / 0.5163 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.7392, allocations: 440 kB / 0.5168 GB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.7498, allocations: 5.753 MB / 0.5224 GB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.752, allocations: 2.052 MB / 0.5244 GB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001766/0.7538, allocations: 0.4996 MB / 0.5249 GB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.7542, allocations: 123.4 kB / 0.525 GB, free: 1.16 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7542, allocations: 0 / 0.525 GB, free: 1.16 MB / 330.7 MB Notification: Performance of Templates: time 0.2189/0.9731, allocations: 25.41 MB / 0.5498 GB, free: 80.35 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)