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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.291/1.291, allocations: 194.3 MB / 208.4 MB, free: 6.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001596/0.001596, allocations: 120.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.095e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06046/0.06049, allocations: 44.49 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.3485, allocations: 105 MB / 454.5 MB, free: 6.789 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3488, allocations: 83.52 kB / 454.5 MB, free: 6.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.4862, allocations: 52.88 MB / 0.4955 GB, free: 8.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4863, allocations: 0 / 0.4955 GB, free: 8.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001971/0.4865, allocations: 71.94 kB / 0.4956 GB, free: 8.418 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.006546/0.4931, allocations: 2.566 MB / 0.4981 GB, free: 5.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4931, allocations: 12.03 kB / 0.4981 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.4943, allocations: 348.1 kB / 0.4985 GB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.4981, allocations: 1.904 MB / 0.5003 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.4983, allocations: 193 kB / 0.5005 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.4987, allocations: 244 kB / 0.5007 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/0.5041, allocations: 3.178 MB / 0.5038 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.206e-05/0.5042, allocations: 11.84 kB / 0.5038 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.5045, allocations: 104 kB / 0.5039 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.5046, allocations: 120.9 kB / 0.5041 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/0.5089, allocations: 2.514 MB / 0.5065 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.5245, allocations: 10.44 MB / 0.5167 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5264, allocations: 1.417 MB / 0.5181 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.5276, allocations: 0.7431 MB / 0.5188 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.5279, allocations: 215.1 kB / 0.519 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.528, allocations: 47.56 kB / 0.5191 GB, free: 15.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.377e-06/0.528, allocations: 0 / 0.5191 GB, free: 15.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.01334/0.5413, allocations: 6.139 MB / 0.5251 GB, free: 9.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.5414, allocations: 64.72 kB / 0.5251 GB, free: 9.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.5438, allocations: 1.526 MB / 0.5266 GB, free: 7.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.5439, allocations: 49.7 kB / 0.5267 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008433/0.5448, allocations: 1.26 MB / 0.5279 GB, free: 6.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.5451, allocations: 453.5 kB / 0.5283 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.5452, allocations: 36 kB / 0.5284 GB, free: 6.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5454, allocations: 369.9 kB / 0.5287 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.5466, allocations: 0.7771 MB / 0.5295 GB, free: 4.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.5481, allocations: 1.281 MB / 0.5307 GB, free: 3.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.5495, allocations: 1.004 MB / 0.5317 GB, free: 2.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.5495, allocations: 4 kB / 0.5317 GB, free: 2.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.1952/0.7447, allocations: 2.474 MB / 0.5341 GB, free: 91.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.7447, allocations: 13.31 kB / 0.5341 GB, free: 91.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.7448, allocations: 22.17 kB / 0.5342 GB, free: 91.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.7454, allocations: 239.5 kB / 0.5344 GB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.7472, allocations: 440.6 kB / 0.5348 GB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.7493, allocations: 2.993 MB / 0.5377 GB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.7508, allocations: 134.2 kB / 0.5379 GB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.751, allocations: 74.42 kB / 0.5379 GB, free: 88.93 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 201 * 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.0002751/0.7513, allocations: 207 kB / 0.5381 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.7515, allocations: 191.7 kB / 0.5383 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/0.7548, allocations: 2.08 MB / 0.5403 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7548, allocations: 12.97 kB / 0.5404 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7548, allocations: 5.688 kB / 0.5404 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.7549, allocations: 3.844 kB / 0.5404 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/0.762, allocations: 4.808 MB / 0.5451 GB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.7621, allocations: 2.75 kB / 0.5451 GB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.7633, allocations: 287.2 kB / 0.5453 GB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/0.7638, allocations: 198.6 kB / 0.5455 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.7639, allocations: 28.8 kB / 0.5456 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.7659, allocations: 2.971 MB / 0.5485 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7659, allocations: 3.266 kB / 0.5485 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/0.7706, allocations: 3.338 MB / 0.5517 GB, free: 85.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.7717, allocations: 446.2 kB / 0.5521 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.7719, allocations: 23.55 kB / 0.5522 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/0.7728, allocations: 96.75 kB / 0.5523 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.773, allocations: 84.02 kB / 0.5523 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/0.7731, allocations: 43.8 kB / 0.5524 GB, free: 85.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001861/0.775, allocations: 1.162 MB / 0.5535 GB, free: 84.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.775, allocations: 0 / 0.5535 GB, free: 84.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001565/0.7766, allocations: 0.522 MB / 0.554 GB, free: 84.98 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 124 * 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.000553/0.7771, allocations: 412.6 kB / 0.5544 GB, free: 84.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.7802, allocations: 2.36 MB / 0.5567 GB, free: 84.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7802, allocations: 0 / 0.5567 GB, free: 84.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.7817, allocations: 1.361 MB / 0.5581 GB, free: 84.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.7836, allocations: 446.6 kB / 0.5585 GB, free: 83.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.7893, allocations: 3.921 MB / 0.5623 GB, free: 83.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.7906, allocations: 2.057 MB / 0.5643 GB, free: 82.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001501/0.7922, allocations: 0.5149 MB / 0.5648 GB, free: 82.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.7926, allocations: 142.9 kB / 0.565 GB, free: 82.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7926, allocations: 0 / 0.565 GB, free: 82.32 MB / 394.7 MB Notification: Performance of Templates: time 0.04082/0.8334, allocations: 27.49 MB / 0.5918 GB, free: 80.68 MB / 394.7 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)