Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009977/0.0009977, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008298/0.0008298, allocations: 97.12 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.0002721, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.23, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.5432, allocations: 115.1 MB / 0.5121 GB, free: 99.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.5435, allocations: 91.55 kB / 0.5122 GB, free: 99.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1944/0.7379, allocations: 83.13 MB / 0.5934 GB, free: 18.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.7379, allocations: 0 / 0.5934 GB, free: 18.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002291/0.7382, allocations: 71.88 kB / 0.5935 GB, free: 18.73 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01002/0.7482, allocations: 2.965 MB / 0.5964 GB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7483, allocations: 8.031 kB / 0.5964 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.7515, allocations: 460.9 kB / 0.5968 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/0.7585, allocations: 1.92 MB / 0.5987 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.7588, allocations: 189.4 kB / 0.5989 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.76, allocations: 244.4 kB / 0.5991 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.7727, allocations: 3.25 MB / 0.6023 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.7729, allocations: 11.84 kB / 0.6023 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007862/0.7737, allocations: 108 kB / 0.6024 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.7738, allocations: 104.9 kB / 0.6025 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008614/0.7825, allocations: 2.592 MB / 0.605 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0264/0.8089, allocations: 10.48 MB / 0.6153 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.8129, allocations: 1.825 MB / 0.6171 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.8154, allocations: 0.909 MB / 0.6179 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.816, allocations: 223.2 kB / 0.6182 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/0.8161, allocations: 47.55 kB / 0.6182 GB, free: 8.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 1.16e-05/0.8161, allocations: 3.984 kB / 0.6182 GB, free: 8.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.03461/0.8507, allocations: 8.767 MB / 0.6268 GB, free: 15.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.8508, allocations: 72.59 kB / 0.6268 GB, free: 15.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005251/0.8561, allocations: 1.846 MB / 0.6286 GB, free: 13.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.8564, allocations: 49.7 kB / 0.6287 GB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.858, allocations: 1.241 MB / 0.6299 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007883/0.8588, allocations: 0.489 MB / 0.6304 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.859, allocations: 36 kB / 0.6304 GB, free: 11.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.8592, allocations: 377.9 kB / 0.6308 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/0.862, allocations: 0.8784 MB / 0.6316 GB, free: 10.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/0.8652, allocations: 1.372 MB / 0.633 GB, free: 9.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/0.8714, allocations: 2.386 MB / 0.6353 GB, free: 6.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/0.8715, allocations: 8 kB / 0.6353 GB, free: 6.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.009643/0.8811, allocations: 2.991 MB / 0.6382 GB, free: 3.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.8812, allocations: 12 kB / 0.6382 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.464e-05/0.8813, allocations: 16 kB / 0.6382 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/0.8841, allocations: 0.5884 MB / 0.6388 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.887, allocations: 423.2 kB / 0.6392 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.9007, allocations: 5.478 MB / 0.6446 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/0.9043, allocations: 139.8 kB / 0.6447 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/0.9048, allocations: 76 kB / 0.6448 GB, free: 12.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (188): * Single equations (assignments): 184 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003454/0.9083, allocations: 0.806 MB / 0.6456 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.9095, allocations: 197.6 kB / 0.6458 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009688/0.9193, allocations: 2.666 MB / 0.6484 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/0.9193, allocations: 12 kB / 0.6484 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.9194, allocations: 8 kB / 0.6484 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/0.9194, allocations: 7.969 kB / 0.6484 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.9395, allocations: 5.562 MB / 0.6538 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.9396, allocations: 7.938 kB / 0.6538 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/0.9416, allocations: 256 kB / 0.6541 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/0.9447, allocations: 0.6502 MB / 0.6547 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/0.9451, allocations: 43.97 kB / 0.6547 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.9607, allocations: 7.158 MB / 0.6617 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.9608, allocations: 4 kB / 0.6617 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.9729, allocations: 3.903 MB / 0.6656 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.9751, allocations: 470.5 kB / 0.666 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009333/0.976, allocations: 35.98 kB / 0.666 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/0.9787, allocations: 111.9 kB / 0.6661 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/0.9793, allocations: 129 kB / 0.6663 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/0.9795, allocations: 39.98 kB / 0.6663 GB, free: 6.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004238/0.9837, allocations: 1.271 MB / 0.6675 GB, free: 4.855 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9838, allocations: 0 / 0.6675 GB, free: 4.855 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004228/0.988, allocations: 0.6366 MB / 0.6682 GB, free: 4.219 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (112): * Single equations (assignments): 108 * 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,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.9891, allocations: 343.7 kB / 0.6685 GB, free: 3.875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007955/0.9971, allocations: 2.638 MB / 0.6711 GB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.9971, allocations: 0 / 0.6711 GB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.287/1.284, allocations: 1.648 MB / 0.6727 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/1.29, allocations: 434.2 kB / 0.6731 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.304, allocations: 6.171 MB / 0.6791 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002597/1.307, allocations: 2.025 MB / 0.6811 GB, free: 99.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00289/1.31, allocations: 415 kB / 0.6815 GB, free: 99.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/1.31, allocations: 129.9 kB / 0.6816 GB, free: 99.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/1.31, allocations: 0 / 0.6816 GB, free: 99.82 MB / 442.7 MB Notification: Performance of Templates: time 0.07298/1.383, allocations: 31.46 MB / 0.7123 GB, free: 98.75 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches