Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002351/0.002351, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.898/2.898, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001338/0.001338, allocations: 94.34 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005323, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4061, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.6218, allocations: 114.8 MB / 490.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/0.6223, allocations: 87.95 kB / 490.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6863/1.309, allocations: 85.73 MB / 0.5629 GB, free: 54.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.081e-06/1.309, allocations: 0 / 0.5629 GB, free: 54.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005503/1.309, allocations: 71.94 kB / 0.5629 GB, free: 54.21 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.0158/1.325, allocations: 3.138 MB / 0.566 GB, free: 51.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.75e-05/1.325, allocations: 12.02 kB / 0.566 GB, free: 51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/1.329, allocations: 444.7 kB / 0.5664 GB, free: 50.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008471/1.338, allocations: 2.035 MB / 0.5684 GB, free: 48.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/1.338, allocations: 201.8 kB / 0.5686 GB, free: 48.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/1.34, allocations: 264.3 kB / 0.5689 GB, free: 48.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/1.354, allocations: 3.537 MB / 0.5723 GB, free: 44.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/1.354, allocations: 4 kB / 0.5723 GB, free: 44.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007393/1.355, allocations: 120 kB / 0.5724 GB, free: 44.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/1.355, allocations: 117.3 kB / 0.5725 GB, free: 44.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/1.366, allocations: 2.855 MB / 0.5753 GB, free: 41.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04177/1.408, allocations: 11.24 MB / 0.5863 GB, free: 29.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/1.413, allocations: 2.333 MB / 0.5886 GB, free: 27.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/1.416, allocations: 1.055 MB / 0.5896 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/1.417, allocations: 215.5 kB / 0.5898 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/1.417, allocations: 55.88 kB / 0.5899 GB, free: 25.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 9.488e-06/1.417, allocations: 3.984 kB / 0.5899 GB, free: 25.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.03403/1.451, allocations: 8.558 MB / 0.5982 GB, free: 17.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.451, allocations: 68.72 kB / 0.5983 GB, free: 17.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/1.456, allocations: 1.956 MB / 0.6002 GB, free: 15.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006482/1.457, allocations: 49.7 kB / 0.6003 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.458, allocations: 1.304 MB / 0.6015 GB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.46, allocations: 0.5391 MB / 0.6021 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.46, allocations: 36 kB / 0.6021 GB, free: 13.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/1.46, allocations: 381.8 kB / 0.6025 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/1.463, allocations: 0.9447 MB / 0.6034 GB, free: 11.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/1.465, allocations: 1.408 MB / 0.6048 GB, free: 10.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00537/1.471, allocations: 2.49 MB / 0.6072 GB, free: 7.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-05/1.471, allocations: 4 kB / 0.6072 GB, free: 7.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009075/1.48, allocations: 3.164 MB / 0.6103 GB, free: 4.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/1.48, allocations: 10.03 kB / 0.6103 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.489e-05/1.48, allocations: 19.94 kB / 0.6103 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/1.483, allocations: 0.623 MB / 0.6109 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/1.485, allocations: 443.3 kB / 0.6113 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/1.498, allocations: 5.706 MB / 0.6169 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/1.503, allocations: 135.8 kB / 0.6171 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008308/1.504, allocations: 79.98 kB / 0.6171 GB, free: 13.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004752/1.509, allocations: 0.8513 MB / 0.618 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.51, allocations: 225.3 kB / 0.6182 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.521, allocations: 2.839 MB / 0.6209 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/1.521, allocations: 23.94 kB / 0.621 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.521, allocations: 4 kB / 0.621 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.692e-05/1.521, allocations: 11.97 kB / 0.621 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.542, allocations: 5.875 MB / 0.6267 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/1.542, allocations: 0 / 0.6267 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.544, allocations: 291.8 kB / 0.627 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003547/1.548, allocations: 0.6929 MB / 0.6277 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/1.548, allocations: 39.92 kB / 0.6277 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/1.565, allocations: 7.444 MB / 0.635 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.565, allocations: 3.938 kB / 0.635 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.578, allocations: 4.142 MB / 0.639 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0028/1.581, allocations: 0.4944 MB / 0.6395 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009659/1.582, allocations: 39.98 kB / 0.6396 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/1.584, allocations: 119.8 kB / 0.6397 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/1.584, allocations: 125.1 kB / 0.6398 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.585, allocations: 47.98 kB / 0.6398 GB, free: 5.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003952/1.589, allocations: 1.332 MB / 0.6411 GB, free: 4.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.647e-06/1.589, allocations: 0 / 0.6411 GB, free: 4.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004704/1.593, allocations: 0.6835 MB / 0.6418 GB, free: 3.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/1.595, allocations: 340.1 kB / 0.6421 GB, free: 3.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008016/1.603, allocations: 2.805 MB / 0.6449 GB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.603, allocations: 0 / 0.6449 GB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3954/1.998, allocations: 1.74 MB / 0.6466 GB, free: 94.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007543/2.006, allocations: 475.7 kB / 0.647 GB, free: 94.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/2.03, allocations: 6.786 MB / 0.6536 GB, free: 91.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/2.034, allocations: 2.116 MB / 0.6557 GB, free: 90.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/2.036, allocations: 146.1 kB / 0.6558 GB, free: 90.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.574e-06/2.036, allocations: 0 / 0.6558 GB, free: 90.83 MB / 410.7 MB Notification: Performance of Templates: time 0.1603/2.196, allocations: 63.1 MB / 0.7175 GB, free: 64.04 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches