Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 176.1 kB / 8.478 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.2 MB / 214.1 MB, free: 5.18 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 86.83 kB / 262.1 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.606e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08642, allocations: 47.59 MB / 362.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2895/0.376, allocations: 130.6 MB / 493.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.3763, allocations: 86.45 kB / 493.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2278/0.6041, allocations: 94.74 MB / 0.5742 GB, free: 2.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002521/0.6044, allocations: 91.94 kB / 0.5743 GB, free: 2.348 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.1602/0.7646, allocations: 3.748 MB / 0.578 GB, free: 40.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7646, allocations: 9.188 kB / 0.578 GB, free: 40.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.7697, allocations: 0.9247 MB / 0.5789 GB, free: 39.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007612/0.7774, allocations: 3.628 MB / 0.5824 GB, free: 39.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.7775, allocations: 115.6 kB / 0.5825 GB, free: 39.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.7779, allocations: 224.8 kB / 0.5827 GB, free: 39.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005315/0.7833, allocations: 3.548 MB / 0.5862 GB, free: 39.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/0.7889, allocations: 4.085 MB / 0.5902 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.988e-05/0.7889, allocations: 7.625 kB / 0.5902 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.7892, allocations: 3.75 kB / 0.5902 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.734e-05/0.7893, allocations: 156.7 kB / 0.5903 GB, free: 39.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/0.8108, allocations: 15.43 MB / 0.6054 GB, free: 35.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.8126, allocations: 1.441 MB / 0.6068 GB, free: 35.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.8148, allocations: 1.737 MB / 0.6085 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007649/0.8224, allocations: 5.317 MB / 0.6137 GB, free: 34.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.8225, allocations: 63.94 kB / 0.6138 GB, free: 34.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=211): time 4.398e-06/0.8225, allocations: 3.656 kB / 0.6138 GB, free: 34.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=214): time 0.00882/0.8313, allocations: 5.599 MB / 0.6192 GB, free: 33.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.8314, allocations: 177.1 kB / 0.6194 GB, free: 33.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.8339, allocations: 1.594 MB / 0.621 GB, free: 32.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.8341, allocations: 29.08 kB / 0.621 GB, free: 32.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.8346, allocations: 1.311 MB / 0.6223 GB, free: 32.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.835, allocations: 0.6966 MB / 0.623 GB, free: 31.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.8352, allocations: 0 / 0.623 GB, free: 31.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8353, allocations: 405.5 kB / 0.6233 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.8365, allocations: 0.9315 MB / 0.6243 GB, free: 31.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8381, allocations: 1.558 MB / 0.6258 GB, free: 30.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.8401, allocations: 1.242 MB / 0.627 GB, free: 30.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.8401, allocations: 9.156 kB / 0.627 GB, free: 30.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.004866/0.845, allocations: 3.149 MB / 0.6301 GB, free: 30.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00157/0.8466, allocations: 7.627 MB / 0.6375 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/0.8466, allocations: 18.53 kB / 0.6375 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/0.8476, allocations: 475.3 kB / 0.638 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.8496, allocations: 0.5346 MB / 0.6385 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.8559, allocations: 7.607 MB / 0.6459 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.8579, allocations: 52.06 kB / 0.646 GB, free: 32.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000394/0.8583, allocations: 100.9 kB / 0.6461 GB, free: 32.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.8583, allocations: 2.906 kB / 0.6461 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004706/0.863, allocations: 2.865 MB / 0.6489 GB, free: 31.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/0.8631, allocations: 25.88 kB / 0.6489 GB, free: 31.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008813/0.864, allocations: 477.9 kB / 0.6494 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.866, allocations: 0.5345 MB / 0.6499 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.8726, allocations: 7.612 MB / 0.6573 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.8747, allocations: 43.83 kB / 0.6574 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000395/0.8751, allocations: 96.56 kB / 0.6575 GB, free: 24.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 281 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006721/0.8758, allocations: 184.3 kB / 0.6576 GB, free: 24.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/0.8764, allocations: 239.3 kB / 0.6579 GB, free: 24.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/0.8816, allocations: 3.001 MB / 0.6608 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.8817, allocations: 19.03 kB / 0.6608 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.8817, allocations: 3.938 kB / 0.6608 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.8817, allocations: 14.3 kB / 0.6608 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009871/0.8916, allocations: 6.17 MB / 0.6669 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8916, allocations: 3.781 kB / 0.6669 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.893, allocations: 301.6 kB / 0.6671 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.8945, allocations: 0.6581 MB / 0.6678 GB, free: 20.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.8947, allocations: 22.73 kB / 0.6678 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.9051, allocations: 11.88 MB / 0.6794 GB, free: 26.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.9051, allocations: 6.469 kB / 0.6794 GB, free: 26.86 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005777/0.9109, allocations: 4.434 MB / 0.6837 GB, free: 24.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.912, allocations: 0.52 MB / 0.6843 GB, free: 24.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005584/0.9126, allocations: 15.48 kB / 0.6843 GB, free: 24.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.914, allocations: 50.19 kB / 0.6843 GB, free: 24.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.9142, allocations: 119.6 kB / 0.6844 GB, free: 24.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.9143, allocations: 58.22 kB / 0.6845 GB, free: 24.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001757/0.9161, allocations: 1.175 MB / 0.6856 GB, free: 23.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004144/0.9202, allocations: 1.194 MB / 0.6868 GB, free: 23.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 154 * 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 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006841/0.9209, allocations: 445.4 kB / 0.6872 GB, free: 23.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006441/0.9274, allocations: 4.959 MB / 0.6921 GB, free: 21.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.9274, allocations: 2.625 kB / 0.6921 GB, free: 21.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.9299, allocations: 1.911 MB / 0.6939 GB, free: 20.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.9323, allocations: 485.5 kB / 0.6944 GB, free: 19.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.9439, allocations: 5.798 MB / 0.7001 GB, free: 17.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002868/0.9468, allocations: 2.732 MB / 0.7027 GB, free: 16.4 MB / 458.7 MB Notification: Performance of SimCode: time 7.51e-07/0.9468, allocations: 0 / 0.7027 GB, free: 16.4 MB / 458.7 MB Notification: Performance of Templates: time 0.2405/1.187, allocations: 51.37 MB / 0.7529 GB, free: 64.38 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches