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.001324/0.001324, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.264/1.264, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001669/0.001669, allocations: 111.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.419e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07816/0.07819, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.3733, allocations: 98.99 MB / 400 MB, free: 1.828 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.3736, allocations: 83.52 kB / 400.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/0.5031, allocations: 50.56 MB / 450.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5032, allocations: 0 / 450.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002942/0.5035, allocations: 67.94 kB / 450.7 MB, free: 4.691 MB / 330.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.007002/0.5105, allocations: 2.55 MB / 453.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5105, allocations: 8.031 kB / 453.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.5121, allocations: 348.1 kB / 453.6 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.5167, allocations: 1.728 MB / 455.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.5169, allocations: 88 kB / 455.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.5177, allocations: 147.9 kB / 455.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005384/0.5231, allocations: 2.349 MB / 457.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.5291, allocations: 2.825 MB / 460.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.275e-05/0.5292, allocations: 11.84 kB / 460.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.5294, allocations: 7.984 kB / 460.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.5295, allocations: 112.9 kB / 460.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.545, allocations: 9.865 MB / 470.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1934/0.7384, allocations: 1.374 MB / 472.1 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.7395, allocations: 0.7191 MB / 472.8 MB, free: 81.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.7399, allocations: 140 kB / 472.9 MB, free: 81.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.7399, allocations: 47.05 kB / 473 MB, free: 81.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 2.886e-06/0.7399, allocations: 0 / 473 MB, free: 81.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=135): time 0.01032/0.7502, allocations: 5.125 MB / 478.1 MB, free: 81.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.7503, allocations: 65.81 kB / 478.2 MB, free: 81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.753, allocations: 1.17 MB / 479.3 MB, free: 80.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.7532, allocations: 27.02 kB / 479.4 MB, free: 80.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.7544, allocations: 1.254 MB / 480.6 MB, free: 80.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.7549, allocations: 447.4 kB / 481.1 MB, free: 80.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.755, allocations: 0 / 481.1 MB, free: 80.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7551, allocations: 374.3 kB / 481.4 MB, free: 79.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7562, allocations: 0.7544 MB / 482.2 MB, free: 79.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.7575, allocations: 1.26 MB / 483.4 MB, free: 79.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.7587, allocations: 0.9803 MB / 484.4 MB, free: 79.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.7587, allocations: 9.391 kB / 484.4 MB, free: 79.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003251/0.762, allocations: 2.328 MB / 486.8 MB, free: 78.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.762, allocations: 11.44 kB / 486.8 MB, free: 78.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.7621, allocations: 19 kB / 486.8 MB, free: 78.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.7627, allocations: 242.1 kB / 487 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.7641, allocations: 444 kB / 487.5 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.766, allocations: 2.887 MB / 490.4 MB, free: 76.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.7675, allocations: 93.91 kB / 490.4 MB, free: 76.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.7677, allocations: 78.73 kB / 490.5 MB, free: 76.57 MB / 346.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 (210): * Single equations (assignments): 206 * 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.0003584/0.7681, allocations: 150.5 kB / 490.7 MB, free: 76.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.7685, allocations: 181 kB / 490.8 MB, free: 76.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.772, allocations: 2.006 MB / 492.8 MB, free: 76.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.772, allocations: 14.78 kB / 492.9 MB, free: 76.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.772, allocations: 11.14 kB / 492.9 MB, free: 76.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.772, allocations: 3.703 kB / 492.9 MB, free: 76.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/0.7789, allocations: 4.405 MB / 497.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.779, allocations: 3.594 kB / 497.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.7801, allocations: 293.5 kB / 497.6 MB, free: 75.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.7806, allocations: 198.5 kB / 497.8 MB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.7807, allocations: 8.625 kB / 497.8 MB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.7824, allocations: 2.866 MB / 0.4889 GB, free: 73.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7824, allocations: 2.906 kB / 0.4889 GB, free: 73.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.7863, allocations: 3.309 MB / 0.4921 GB, free: 72.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/0.7872, allocations: 415.8 kB / 0.4925 GB, free: 72.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.7874, allocations: 9.984 kB / 0.4925 GB, free: 72.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/0.7882, allocations: 80.05 kB / 0.4926 GB, free: 72.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.7883, allocations: 83.39 kB / 0.4927 GB, free: 72.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.7884, allocations: 37.03 kB / 0.4927 GB, free: 72.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001223/0.7897, allocations: 0.8742 MB / 0.4936 GB, free: 71.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7897, allocations: 5.656 kB / 0.4936 GB, free: 71.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001765/0.7914, allocations: 445.7 kB / 0.494 GB, free: 71.87 MB / 346.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 (131): * Single equations (assignments): 127 * 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.0005802/0.792, allocations: 375.2 kB / 0.4944 GB, free: 71.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.7949, allocations: 2.306 MB / 0.4966 GB, free: 70.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7949, allocations: 3.562 kB / 0.4966 GB, free: 70.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.7963, allocations: 1.331 MB / 0.4979 GB, free: 70.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7979, allocations: 371.5 kB / 0.4983 GB, free: 69.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.8038, allocations: 3.777 MB / 0.502 GB, free: 68.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.8052, allocations: 2.054 MB / 0.504 GB, free: 67.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001447/0.8067, allocations: 0.5006 MB / 0.5045 GB, free: 67.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.807, allocations: 121.2 kB / 0.5046 GB, free: 67.43 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.807, allocations: 0 / 0.5046 GB, free: 67.43 MB / 346.7 MB Notification: Performance of Templates: time 0.03449/0.8415, allocations: 20.31 MB / 0.5244 GB, free: 61.62 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)