Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.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.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009036/0.0009036, allocations: 92.78 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.548e-05, allocations: 4 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 51.49 MB / 395.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.468, allocations: 88.14 MB / 483.3 MB, free: 5.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4683, allocations: 84.23 kB / 483.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03256/0.5008, allocations: 13.24 MB / 496.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5009, allocations: 3.938 kB / 496.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.467e-05/0.5009, allocations: 23.94 kB / 496.7 MB, free: 10.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001903/0.5029, allocations: 1.028 MB / 497.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5029, allocations: 12.03 kB / 497.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006203/0.5035, allocations: 166.3 kB / 497.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008568/0.5044, allocations: 0.5448 MB / 498.4 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.5045, allocations: 24 kB / 498.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.5046, allocations: 47.06 kB / 498.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008177/0.5054, allocations: 468.9 kB / 499 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.5064, allocations: 0.626 MB / 499.6 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.5065, allocations: 8 kB / 499.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.5065, allocations: 352 / 499.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.5066, allocations: 21.73 kB / 499.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.5104, allocations: 2.629 MB / 0.4905 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.5112, allocations: 0.4897 MB / 0.4909 GB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.5116, allocations: 257.1 kB / 0.4912 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.5117, allocations: 12.55 kB / 0.4912 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006092/0.5123, allocations: 394.3 kB / 0.4916 GB, free: 4.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.224e-06/0.5123, allocations: 0 / 0.4916 GB, free: 4.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=69): time 0.001044/0.5134, allocations: 0.5714 MB / 0.4921 GB, free: 4.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.5134, allocations: 119.4 kB / 0.4922 GB, free: 4.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.5139, allocations: 411.9 kB / 0.4926 GB, free: 3.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.514, allocations: 29.7 kB / 0.4927 GB, free: 3.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.5142, allocations: 351.7 kB / 0.493 GB, free: 3.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.5144, allocations: 205.7 kB / 0.4932 GB, free: 3.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.5144, allocations: 0 / 0.4932 GB, free: 3.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5146, allocations: 375.6 kB / 0.4936 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.5149, allocations: 179.9 kB / 0.4937 GB, free: 2.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.5153, allocations: 359.8 kB / 0.4941 GB, free: 2.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.5157, allocations: 211.9 kB / 0.4943 GB, free: 2.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5157, allocations: 0 / 0.4943 GB, free: 2.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009985/0.5167, allocations: 0.6593 MB / 0.4949 GB, free: 1.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007825/0.5175, allocations: 1.86 MB / 0.4967 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5175, allocations: 4 kB / 0.4967 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.518, allocations: 149 kB / 0.4969 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.5185, allocations: 127.4 kB / 0.497 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.5208, allocations: 2.208 MB / 0.4992 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.5213, allocations: 71.41 kB / 0.4992 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.5214, allocations: 35.62 kB / 0.4993 GB, free: 13.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.5214, allocations: 4 kB / 0.4993 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009387/0.5224, allocations: 0.5653 MB / 0.4998 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5224, allocations: 8.062 kB / 0.4998 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003367/0.5227, allocations: 147.3 kB / 0.5 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.5232, allocations: 119.8 kB / 0.5001 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.5256, allocations: 2.207 MB / 0.5022 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.5261, allocations: 71.45 kB / 0.5023 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.5261, allocations: 24 kB / 0.5023 GB, free: 10.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean2.y_last,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.5263, allocations: 139.5 kB / 0.5025 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5264, allocations: 71.23 kB / 0.5025 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.5275, allocations: 0.6046 MB / 0.5031 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5275, allocations: 4 kB / 0.5031 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.5275, allocations: 4 kB / 0.5031 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/0.5276, allocations: 4.109 kB / 0.5031 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.5295, allocations: 1.35 MB / 0.5044 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5295, allocations: 0 / 0.5044 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.53, allocations: 95.88 kB / 0.5045 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.5303, allocations: 136.9 kB / 0.5047 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.5304, allocations: 7.984 kB / 0.5047 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/0.5327, allocations: 2.199 MB / 0.5068 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5327, allocations: 4 kB / 0.5068 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.5341, allocations: 0.9609 MB / 0.5078 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.5344, allocations: 212.1 kB / 0.508 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.5345, allocations: 12 kB / 0.508 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.5349, allocations: 45.73 kB / 0.508 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.535, allocations: 64.45 kB / 0.5081 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.5351, allocations: 23.98 kB / 0.5081 GB, free: 4.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000337/0.5354, allocations: 311 kB / 0.5084 GB, free: 4.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5355, allocations: 0 / 0.5084 GB, free: 4.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001138/0.5366, allocations: 338.9 kB / 0.5087 GB, free: 3.703 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,inductor.i) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean2.y_last) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002106/0.5368, allocations: 139.6 kB / 0.5089 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.5387, allocations: 1.299 MB / 0.5101 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5387, allocations: 0 / 0.5101 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.5394, allocations: 450.7 kB / 0.5106 GB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.5399, allocations: 98.38 kB / 0.5107 GB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.5419, allocations: 1.033 MB / 0.5117 GB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.5425, allocations: 0.9675 MB / 0.5126 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.5429, allocations: 120.8 kB / 0.5127 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5431, allocations: 47.42 kB / 0.5128 GB, free: 15.46 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5431, allocations: 0 / 0.5128 GB, free: 15.46 MB / 394.7 MB Notification: Performance of Templates: time 0.01757/0.5607, allocations: 10.16 MB / 0.5227 GB, free: 5.5 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches