Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001236, allocations: 176.2 kB / 17.4 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007583/0.0007584, allocations: 93.77 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 15.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2058, allocations: 50.41 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.5074, allocations: 126.4 MB / 0.5168 GB, free: 98.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5077, allocations: 92.19 kB / 0.5169 GB, free: 98.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1244/0.6321, allocations: 55.48 MB / 0.5711 GB, free: 43.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6322, allocations: 0 / 0.5711 GB, free: 43.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002361/0.6324, allocations: 63.98 kB / 0.5711 GB, free: 43.6 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.006632/0.6391, allocations: 2.926 MB / 0.574 GB, free: 40.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6391, allocations: 12.03 kB / 0.574 GB, free: 40.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.6408, allocations: 429 kB / 0.5744 GB, free: 40.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.6441, allocations: 1.82 MB / 0.5762 GB, free: 38.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6442, allocations: 177.1 kB / 0.5763 GB, free: 38.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005364/0.6448, allocations: 248.2 kB / 0.5766 GB, free: 37.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/0.6495, allocations: 3.035 MB / 0.5795 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.124e-05/0.6496, allocations: 8.094 kB / 0.5796 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.6498, allocations: 107.9 kB / 0.5797 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/0.6499, allocations: 104.5 kB / 0.5798 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.6537, allocations: 2.438 MB / 0.5821 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.6679, allocations: 10.3 MB / 0.5922 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.6706, allocations: 2.762 MB / 0.5949 GB, free: 18.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.672, allocations: 1.152 MB / 0.596 GB, free: 17.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.6723, allocations: 138.4 kB / 0.5962 GB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6723, allocations: 51.88 kB / 0.5962 GB, free: 17.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.917e-06/0.6724, allocations: 0 / 0.5962 GB, free: 17.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01795/0.6903, allocations: 9.124 MB / 0.6051 GB, free: 7.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.6904, allocations: 172.2 kB / 0.6053 GB, free: 7.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.6932, allocations: 1.834 MB / 0.6071 GB, free: 5.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.6934, allocations: 61.64 kB / 0.6071 GB, free: 5.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/0.6941, allocations: 1.161 MB / 0.6083 GB, free: 4.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005139/0.6946, allocations: 0.593 MB / 0.6088 GB, free: 3.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.6947, allocations: 40 kB / 0.6089 GB, free: 3.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6949, allocations: 385.8 kB / 0.6092 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.6962, allocations: 0.9135 MB / 0.6101 GB, free: 2.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.6977, allocations: 1.368 MB / 0.6115 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.7008, allocations: 2.372 MB / 0.6138 GB, free: 14.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.7008, allocations: 0 / 0.6138 GB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006211/0.7071, allocations: 3.326 MB / 0.617 GB, free: 11.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004458/0.7075, allocations: 457 kB / 0.6175 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/0.7076, allocations: 15.98 kB / 0.6175 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.7102, allocations: 0.9681 MB / 0.6184 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.7117, allocations: 375.4 kB / 0.6188 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.7261, allocations: 12 MB / 0.6305 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.728, allocations: 108 kB / 0.6306 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.7283, allocations: 83.94 kB / 0.6307 GB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.7284, allocations: 0 / 0.6307 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005606/0.734, allocations: 3.092 MB / 0.6337 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.734, allocations: 12 kB / 0.6337 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.7364, allocations: 0.9687 MB / 0.6347 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.7378, allocations: 367.7 kB / 0.635 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.7524, allocations: 12 MB / 0.6467 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.7544, allocations: 95.97 kB / 0.6468 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.7548, allocations: 79.98 kB / 0.6469 GB, free: 11.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.7567, allocations: 0.8144 MB / 0.6477 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/0.7573, allocations: 217.4 kB / 0.6479 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/0.7627, allocations: 2.983 MB / 0.6508 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.7628, allocations: 19.94 kB / 0.6509 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.7628, allocations: 8 kB / 0.6509 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.7628, allocations: 7.969 kB / 0.6509 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.774, allocations: 5.897 MB / 0.6566 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.774, allocations: 4 kB / 0.6566 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/0.775, allocations: 223.7 kB / 0.6568 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1969/0.9719, allocations: 1.026 MB / 0.6578 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/0.9724, allocations: 48.08 kB / 0.6579 GB, free: 91.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.9846, allocations: 13.7 MB / 0.6713 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9847, allocations: 1.969 kB / 0.6713 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.9903, allocations: 4.346 MB / 0.6755 GB, free: 84.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008363/0.9912, allocations: 0.4894 MB / 0.676 GB, free: 84.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.9914, allocations: 41.91 kB / 0.676 GB, free: 84.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.9925, allocations: 103.7 kB / 0.6761 GB, free: 84.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.9928, allocations: 143.5 kB / 0.6763 GB, free: 84.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.9929, allocations: 51.58 kB / 0.6763 GB, free: 84.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001562/0.9944, allocations: 1.249 MB / 0.6775 GB, free: 84.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9944, allocations: 3.812 kB / 0.6775 GB, free: 84.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003074/0.9975, allocations: 1.192 MB / 0.6787 GB, free: 84.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005652/0.9981, allocations: 380 kB / 0.6791 GB, free: 84.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007881/1.006, allocations: 5.489 MB / 0.6844 GB, free: 83.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.006, allocations: 3.656 kB / 0.6844 GB, free: 83.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002835/1.009, allocations: 2.139 MB / 0.6865 GB, free: 82.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.012, allocations: 0.5538 MB / 0.6871 GB, free: 82.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.022, allocations: 6.679 MB / 0.6936 GB, free: 80.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/1.024, allocations: 1.999 MB / 0.6955 GB, free: 79.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001902/1.026, allocations: 496.2 kB / 0.696 GB, free: 79.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/1.026, allocations: 125.2 kB / 0.6961 GB, free: 79.23 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/1.026, allocations: 3.625 kB / 0.6961 GB, free: 79.23 MB / 426.7 MB Notification: Performance of Templates: time 0.06889/1.095, allocations: 46.48 MB / 0.7415 GB, free: 57.38 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches