Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 94.61 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009844/0.0009844, allocations: 197.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 4 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.0116/0.129, allocations: 9.744 MB / 367.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2581/0.3871, allocations: 6.324 MB / 374.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.3899, allocations: 54.81 kB / 374.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.3932, allocations: 0.7021 MB / 374.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.3979, allocations: 0.8684 MB / 375.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005495/0.4034, allocations: 1.328 MB / 377.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006973/0.4104, allocations: 2.234 MB / 379.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.4134, allocations: 1.424 MB / 380.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.417, allocations: 1.066 MB / 381.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.4211, allocations: 1.236 MB / 383.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006864/0.4218, allocations: 150.7 kB / 383.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.4237, allocations: 333.5 kB / 383.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.4247, allocations: 0.701 MB / 384.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.4262, allocations: 0.5759 MB / 384.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005354/0.4315, allocations: 3.711 MB / 388.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4316, allocations: 0 / 388.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4316, allocations: 0.9688 kB / 388.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001746/0.4318, allocations: 0 / 388.5 MB, free: 6.957 MB / 302.1 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.00851/0.4403, allocations: 2.955 MB / 391.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4403, allocations: 10.03 kB / 391.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.4424, allocations: 426.4 kB / 391.9 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.4476, allocations: 1.662 MB / 393.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4478, allocations: 181.4 kB / 393.7 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006034/0.4485, allocations: 245.6 kB / 394 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007463/0.4559, allocations: 3.019 MB / 397 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/0.456, allocations: 6.719 kB / 397 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.4563, allocations: 104.9 kB / 397.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.4565, allocations: 106.1 kB / 397.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.4613, allocations: 2.524 MB / 399.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/0.4813, allocations: 10.28 MB / 410 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.4848, allocations: 2.729 MB / 412.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.4852, allocations: 130.3 kB / 412.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.4852, allocations: 55.88 kB / 412.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 3.427e-06/0.4852, allocations: 3.938 kB / 412.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.02023/0.5055, allocations: 8.166 MB / 421.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.5056, allocations: 197.2 kB / 421.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/0.5105, allocations: 1.835 MB / 423.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000401/0.511, allocations: 57.7 kB / 423.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.5121, allocations: 1.163 MB / 424.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008023/0.5129, allocations: 0.5571 MB / 424.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.5132, allocations: 36 kB / 424.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.5134, allocations: 389.8 kB / 425.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.5152, allocations: 0.8627 MB / 426.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.5173, allocations: 1.312 MB / 427.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.5193, allocations: 1.052 MB / 428.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.5193, allocations: 6.297 kB / 428.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.006247/0.5256, allocations: 3.117 MB / 431.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001905/0.5275, allocations: 4.991 MB / 436.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/0.5276, allocations: 15.98 kB / 436.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.5295, allocations: 0.7699 MB / 437.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.531, allocations: 379.5 kB / 437.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.544, allocations: 11.88 MB / 449.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.5463, allocations: 103.9 kB / 449.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.5466, allocations: 75.98 kB / 449.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5467, allocations: 4 kB / 449.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005469/0.5521, allocations: 2.88 MB / 452.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.322e-05/0.5522, allocations: 16.03 kB / 452.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.554, allocations: 0.7684 MB / 453.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5553, allocations: 366.9 kB / 453.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.5698, allocations: 11.87 MB / 465.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.5724, allocations: 99.91 kB / 465.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004669/0.5729, allocations: 71.98 kB / 465.9 MB, free: 12.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (194): * Single equations (assignments): 186 * 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: 5 * 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 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002405/0.5753, allocations: 0.8011 MB / 466.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009247/0.5762, allocations: 217.4 kB / 466.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006186/0.5824, allocations: 2.837 MB / 469.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.5825, allocations: 16 kB / 469.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/0.5825, allocations: 4 kB / 469.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.5825, allocations: 7.969 kB / 469.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.5955, allocations: 5.673 MB / 475.5 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.5956, allocations: 4 kB / 475.5 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.5966, allocations: 240.1 kB / 475.7 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.5989, allocations: 0.8126 MB / 476.5 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.5991, allocations: 39.98 kB / 476.6 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.6142, allocations: 13.35 MB / 489.9 MB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6143, allocations: 11.94 kB / 489.9 MB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/0.6216, allocations: 4.263 MB / 494.2 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.6235, allocations: 482.3 kB / 494.7 MB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008324/0.6243, allocations: 39.98 kB / 494.7 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.6261, allocations: 99.91 kB / 494.8 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/0.6265, allocations: 141 kB / 494.9 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.6266, allocations: 44 kB / 495 MB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00268/0.6293, allocations: 1.254 MB / 496.2 MB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6293, allocations: 0 / 496.2 MB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006001/0.6353, allocations: 1.078 MB / 497.3 MB, free: 12.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (123): * Single equations (assignments): 117 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007111/0.6361, allocations: 216.8 kB / 497.5 MB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008586/0.6447, allocations: 5.246 MB / 0.491 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.6447, allocations: 4.375 kB / 0.491 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003276/0.648, allocations: 2.067 MB / 0.493 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.6513, allocations: 0.5587 MB / 0.4936 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.6641, allocations: 6.569 MB / 0.5 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.6666, allocations: 2.024 MB / 0.5019 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002175/0.6688, allocations: 0.5051 MB / 0.5024 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.6694, allocations: 127.4 kB / 0.5026 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.284e-06/0.6694, allocations: 3.938 kB / 0.5026 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Templates: time 0.279/0.9485, allocations: 39.68 MB / 0.5413 GB, free: 131.5 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches