Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.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.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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 trunk/package.mo): time 0.001504/0.001504, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 99.41 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.501e-06, allocations: 0 / 343.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09764, allocations: 51.47 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2904/0.3881, allocations: 132.8 MB / 0.5151 GB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.3885, allocations: 89.62 kB / 0.5152 GB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.413/0.8014, allocations: 98.45 MB / 0.6113 GB, free: 60.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002886/0.8018, allocations: 92.92 kB / 0.6114 GB, free: 60.59 MB / 442.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.01046/0.8122, allocations: 3.797 MB / 0.6151 GB, free: 59.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8123, allocations: 6.781 kB / 0.6151 GB, free: 59.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/0.8184, allocations: 0.9241 MB / 0.616 GB, free: 58.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00968/0.8281, allocations: 3.639 MB / 0.6196 GB, free: 58.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.8283, allocations: 125.3 kB / 0.6197 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009684/0.8293, allocations: 224.8 kB / 0.6199 GB, free: 58.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006598/0.8359, allocations: 3.551 MB / 0.6234 GB, free: 58.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006736/0.8427, allocations: 4.08 MB / 0.6273 GB, free: 57.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.89e-05/0.8428, allocations: 1 kB / 0.6273 GB, free: 57.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/0.8431, allocations: 7.781 kB / 0.6274 GB, free: 57.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.8432, allocations: 155 kB / 0.6275 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02539/0.8686, allocations: 15.49 MB / 0.6426 GB, free: 50.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.8711, allocations: 1.436 MB / 0.644 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.874, allocations: 1.773 MB / 0.6458 GB, free: 48.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.8841, allocations: 5.914 MB / 0.6515 GB, free: 45.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.8842, allocations: 58.31 kB / 0.6516 GB, free: 45.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=211): time 5.109e-06/0.8842, allocations: 0 / 0.6516 GB, free: 45.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=214): time 0.01205/0.8963, allocations: 5.601 MB / 0.6571 GB, free: 42.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.8964, allocations: 176.4 kB / 0.6572 GB, free: 42.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.8994, allocations: 1.598 MB / 0.6588 GB, free: 41.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002918/0.8997, allocations: 30.83 kB / 0.6588 GB, free: 41.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/0.9003, allocations: 1.323 MB / 0.6601 GB, free: 40.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.9009, allocations: 0.6919 MB / 0.6608 GB, free: 40.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.901, allocations: 4 kB / 0.6608 GB, free: 40.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9012, allocations: 403 kB / 0.6612 GB, free: 39.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.9026, allocations: 0.9315 MB / 0.6621 GB, free: 39.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.9043, allocations: 1.562 MB / 0.6636 GB, free: 38.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.9062, allocations: 1.237 MB / 0.6648 GB, free: 37.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.9062, allocations: 7.203 kB / 0.6648 GB, free: 37.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.005343/0.9116, allocations: 3.146 MB / 0.6679 GB, free: 36.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.9129, allocations: 7.641 MB / 0.6754 GB, free: 28.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.913, allocations: 18.31 kB / 0.6754 GB, free: 28.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.914, allocations: 475.7 kB / 0.6758 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.9161, allocations: 0.5287 MB / 0.6763 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.9216, allocations: 7.617 MB / 0.6838 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.924, allocations: 44.16 kB / 0.6838 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.9243, allocations: 105.6 kB / 0.6839 GB, free: 21.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.9243, allocations: 8.969 kB / 0.6839 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004493/0.9288, allocations: 2.858 MB / 0.6867 GB, free: 20.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.9289, allocations: 25.28 kB / 0.6868 GB, free: 20.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/0.9298, allocations: 470.5 kB / 0.6872 GB, free: 20.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.9317, allocations: 0.5336 MB / 0.6877 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005525/0.9373, allocations: 7.605 MB / 0.6951 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.9399, allocations: 42.14 kB / 0.6952 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/0.9403, allocations: 100.4 kB / 0.6953 GB, free: 14.3 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.0006431/0.9409, allocations: 174.1 kB / 0.6955 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006657/0.9416, allocations: 242.5 kB / 0.6957 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00537/0.947, allocations: 2.996 MB / 0.6986 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.947, allocations: 18 kB / 0.6986 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.9471, allocations: 5.219 kB / 0.6986 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/0.9471, allocations: 13.83 kB / 0.6986 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.9582, allocations: 6.173 MB / 0.7047 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.9582, allocations: 7.25 kB / 0.7047 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.9597, allocations: 310.8 kB / 0.705 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.9613, allocations: 0.6548 MB / 0.7056 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.9615, allocations: 20.78 kB / 0.7056 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.9721, allocations: 11.88 MB / 0.7172 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.9721, allocations: 11.84 kB / 0.7173 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007852/0.98, allocations: 4.432 MB / 0.7216 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/0.9818, allocations: 0.5243 MB / 0.7221 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000608/0.9825, allocations: 9.969 kB / 0.7221 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.9838, allocations: 56.56 kB / 0.7222 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.984, allocations: 112.9 kB / 0.7223 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.9842, allocations: 54.67 kB / 0.7223 GB, free: 10.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002387/0.9866, allocations: 1.183 MB / 0.7235 GB, free: 9.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005374/0.9919, allocations: 1.22 MB / 0.7247 GB, free: 8.105 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.0009725/0.9929, allocations: 480.3 kB / 0.7251 GB, free: 7.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007529/1, allocations: 4.962 MB / 0.73 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.001, allocations: 0 / 0.73 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.004, allocations: 1.924 MB / 0.7318 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.007, allocations: 481.4 kB / 0.7323 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.022, allocations: 5.935 MB / 0.7381 GB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/1.026, allocations: 2.729 MB / 0.7408 GB, free: 9.566 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/1.026, allocations: 0 / 0.7408 GB, free: 9.566 MB / 474.7 MB Notification: Performance of Templates: time 0.254/1.28, allocations: 51.73 MB / 0.7913 GB, free: 139.5 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Rectifier/SMEE_Rectifier.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches