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.001422/0.001422, allocations: 178.3 kB / 16.38 MB, free: 5.766 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.194/1.194, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001543/0.001543, allocations: 112.3 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002958, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07733, allocations: 44.48 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.3159, allocations: 105.1 MB / 460.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.3162, allocations: 88.39 kB / 460.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1328/0.449, allocations: 52.81 MB / 0.501 GB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.449, allocations: 4 kB / 0.501 GB, free: 14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002343/0.4493, allocations: 67.94 kB / 0.5011 GB, free: 13.94 MB / 394.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.006771/0.4561, allocations: 2.888 MB / 0.5039 GB, free: 10.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4561, allocations: 8.031 kB / 0.5039 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.4573, allocations: 344.1 kB / 0.5042 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/0.4616, allocations: 1.919 MB / 0.5061 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.4618, allocations: 189 kB / 0.5063 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006254/0.4624, allocations: 248 kB / 0.5065 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005776/0.4682, allocations: 3.229 MB / 0.5097 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/0.4683, allocations: 7.906 kB / 0.5097 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.4686, allocations: 104 kB / 0.5098 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.4687, allocations: 120.9 kB / 0.5099 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004217/0.4729, allocations: 2.565 MB / 0.5124 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1585/0.6314, allocations: 10.44 MB / 0.5226 GB, free: 87.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.6332, allocations: 1.413 MB / 0.524 GB, free: 87.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.6335, allocations: 224.9 kB / 0.5242 GB, free: 87.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.6335, allocations: 43.03 kB / 0.5242 GB, free: 87.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.576e-06/0.6335, allocations: 0 / 0.5242 GB, free: 87.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.01476/0.6483, allocations: 7.304 MB / 0.5314 GB, free: 85.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6483, allocations: 71.66 kB / 0.5315 GB, free: 85.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.6503, allocations: 1.542 MB / 0.533 GB, free: 85.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.6504, allocations: 48.39 kB / 0.533 GB, free: 85.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/0.6511, allocations: 1.263 MB / 0.5342 GB, free: 85.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.6514, allocations: 458.2 kB / 0.5347 GB, free: 85.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.6514, allocations: 32.81 kB / 0.5347 GB, free: 85.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.6515, allocations: 368.7 kB / 0.5351 GB, free: 84.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.6526, allocations: 0.7968 MB / 0.5358 GB, free: 84.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.6539, allocations: 1.31 MB / 0.5371 GB, free: 84.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.6552, allocations: 1.013 MB / 0.5381 GB, free: 84.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.6552, allocations: 4.125 kB / 0.5381 GB, free: 84.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.003411/0.6586, allocations: 2.53 MB / 0.5406 GB, free: 83.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.6587, allocations: 15.52 kB / 0.5406 GB, free: 83.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.6587, allocations: 15.53 kB / 0.5406 GB, free: 83.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.6592, allocations: 244.5 kB / 0.5408 GB, free: 83.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.6606, allocations: 440.8 kB / 0.5413 GB, free: 83.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.6623, allocations: 3.033 MB / 0.5442 GB, free: 81.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6637, allocations: 134.5 kB / 0.5444 GB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6638, allocations: 73.69 kB / 0.5444 GB, free: 81.38 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 () * Number of clocked 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.001223/0.665, allocations: 0.8242 MB / 0.5452 GB, free: 81.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.6653, allocations: 195.2 kB / 0.5454 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.6679, allocations: 2.12 MB / 0.5475 GB, free: 81.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.668, allocations: 15.25 kB / 0.5475 GB, free: 81.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.668, allocations: 0 / 0.5475 GB, free: 81.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.668, allocations: 7.594 kB / 0.5475 GB, free: 81.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.6746, allocations: 4.843 MB / 0.5522 GB, free: 79.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6746, allocations: 8.703 kB / 0.5522 GB, free: 79.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6757, allocations: 288.9 kB / 0.5525 GB, free: 79.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/0.6762, allocations: 202.3 kB / 0.5527 GB, free: 78.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.6763, allocations: 28.56 kB / 0.5527 GB, free: 78.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.678, allocations: 3.007 MB / 0.5557 GB, free: 76.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.678, allocations: 4.125 kB / 0.5557 GB, free: 76.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.6818, allocations: 3.405 MB / 0.559 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00096/0.6828, allocations: 443.5 kB / 0.5594 GB, free: 74.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.683, allocations: 22.41 kB / 0.5594 GB, free: 74.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/0.6839, allocations: 96.06 kB / 0.5595 GB, free: 74.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.684, allocations: 87.77 kB / 0.5596 GB, free: 74.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.6841, allocations: 40.89 kB / 0.5597 GB, free: 74.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001467/0.6856, allocations: 1.179 MB / 0.5608 GB, free: 73.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6856, allocations: 0 / 0.5608 GB, free: 73.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001618/0.6872, allocations: 0.5309 MB / 0.5613 GB, free: 73.75 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 () * Number of clocked 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.0005372/0.6877, allocations: 418.5 kB / 0.5617 GB, free: 73.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.6905, allocations: 2.407 MB / 0.5641 GB, free: 72.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6905, allocations: 4.25 kB / 0.5641 GB, free: 72.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.6919, allocations: 1.365 MB / 0.5654 GB, free: 71.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.6935, allocations: 456.3 kB / 0.5659 GB, free: 71.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.7002, allocations: 5.849 MB / 0.5716 GB, free: 68.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.7015, allocations: 2.056 MB / 0.5736 GB, free: 67.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001538/0.7031, allocations: 0.5143 MB / 0.5741 GB, free: 67.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.7034, allocations: 141.2 kB / 0.5742 GB, free: 67.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7034, allocations: 4 kB / 0.5742 GB, free: 67.37 MB / 394.7 MB Notification: Performance of Templates: time 0.0388/0.7423, allocations: 26.96 MB / 0.6005 GB, free: 56.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)