Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001957/0.001957, allocations: 182.5 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.135/3.135, allocations: 205.4 MB / 223.6 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001045, allocations: 86.41 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.0005448, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.5131, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.7697, allocations: 113.6 MB / 489.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005417/0.7703, allocations: 87.95 kB / 489.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.674/1.444, allocations: 58.27 MB / 0.5348 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.899e-06/1.444, allocations: 0 / 0.5348 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005139/1.445, allocations: 83.88 kB / 0.5349 GB, free: 82.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01756/1.463, allocations: 3.233 MB / 0.538 GB, free: 79.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.002e-05/1.463, allocations: 8.031 kB / 0.5381 GB, free: 79.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/1.467, allocations: 404.6 kB / 0.5384 GB, free: 79.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.477, allocations: 2.25 MB / 0.5406 GB, free: 76.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/1.477, allocations: 214 kB / 0.5408 GB, free: 76.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/1.479, allocations: 280.3 kB / 0.5411 GB, free: 76.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/1.494, allocations: 3.68 MB / 0.5447 GB, free: 72.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/1.494, allocations: 12.03 kB / 0.5447 GB, free: 72.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000797/1.495, allocations: 127.9 kB / 0.5448 GB, free: 72.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/1.495, allocations: 129.5 kB / 0.545 GB, free: 72.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/1.506, allocations: 2.946 MB / 0.5478 GB, free: 69.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03984/1.546, allocations: 11.7 MB / 0.5593 GB, free: 57.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/1.551, allocations: 1.975 MB / 0.5612 GB, free: 55.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/1.553, allocations: 0.9545 MB / 0.5621 GB, free: 54.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/1.554, allocations: 219.5 kB / 0.5623 GB, free: 54.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/1.554, allocations: 51.86 kB / 0.5624 GB, free: 54.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 5.68e-06/1.554, allocations: 0 / 0.5624 GB, free: 54.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=149): time 0.0257/1.579, allocations: 7.583 MB / 0.5698 GB, free: 46.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.58, allocations: 68.72 kB / 0.5699 GB, free: 46.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/1.585, allocations: 1.959 MB / 0.5718 GB, free: 44.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005464/1.586, allocations: 49.7 kB / 0.5718 GB, free: 44.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.587, allocations: 1.401 MB / 0.5732 GB, free: 42.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009625/1.588, allocations: 0.5121 MB / 0.5737 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/1.588, allocations: 40 kB / 0.5737 GB, free: 42.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/1.588, allocations: 385.8 kB / 0.5741 GB, free: 41.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/1.591, allocations: 0.8745 MB / 0.5749 GB, free: 40.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/1.593, allocations: 1.423 MB / 0.5763 GB, free: 39.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00544/1.599, allocations: 2.483 MB / 0.5788 GB, free: 36.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/1.599, allocations: 4 kB / 0.5788 GB, free: 36.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009555/1.609, allocations: 3.039 MB / 0.5817 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/1.609, allocations: 12 kB / 0.5817 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/1.609, allocations: 16 kB / 0.5818 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/1.611, allocations: 0.549 MB / 0.5823 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/1.614, allocations: 439.3 kB / 0.5827 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/1.626, allocations: 6.291 MB / 0.5889 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/1.63, allocations: 139.8 kB / 0.589 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/1.63, allocations: 76 kB / 0.5891 GB, free: 25.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (209): * 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): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003845/1.634, allocations: 0.911 MB / 0.5899 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.635, allocations: 217.3 kB / 0.5902 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007595/1.643, allocations: 2.664 MB / 0.5928 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.643, allocations: 19.98 kB / 0.5928 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.643, allocations: 8 kB / 0.5928 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/1.643, allocations: 7.969 kB / 0.5928 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.662, allocations: 5.751 MB / 0.5984 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.662, allocations: 4.281 kB / 0.5984 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.664, allocations: 259.6 kB / 0.5987 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/1.666, allocations: 0.5801 MB / 0.5992 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/1.666, allocations: 35.98 kB / 0.5993 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/1.68, allocations: 7.987 MB / 0.6071 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.68, allocations: 8.25 kB / 0.6071 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.691, allocations: 3.895 MB / 0.6109 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/1.694, allocations: 486.3 kB / 0.6113 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.695, allocations: 40.11 kB / 0.6114 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.697, allocations: 103.9 kB / 0.6115 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/1.698, allocations: 113 kB / 0.6116 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.698, allocations: 43.98 kB / 0.6116 GB, free: 1.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00438/1.702, allocations: 1.33 MB / 0.6129 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.997e-06/1.702, allocations: 4 kB / 0.6129 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006142/1.709, allocations: 0.6172 MB / 0.6135 GB, free: 15.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * 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 (124): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 20,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/1.71, allocations: 417.8 kB / 0.6139 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008863/1.719, allocations: 2.629 MB / 0.6165 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.948e-05/1.719, allocations: 4.188 kB / 0.6165 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004805/1.724, allocations: 1.581 MB / 0.618 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/1.731, allocations: 0.5062 MB / 0.6185 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.754, allocations: 6.875 MB / 0.6253 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008226/1.762, allocations: 2.186 MB / 0.6274 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/1.764, allocations: 171.4 kB / 0.6276 GB, free: 1.445 MB / 394.7 MB Notification: Performance of SimCode: time 3.076e-06/1.764, allocations: 0 / 0.6276 GB, free: 1.445 MB / 394.7 MB Notification: Performance of Templates: time 0.5749/2.339, allocations: 79.02 MB / 0.7047 GB, free: 72.76 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_VoltageSource/SMPM_VoltageSource.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches