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.0009934/0.0009934, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008923/0.0008923, allocations: 101.3 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002098/0.0002098, allocations: 4 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09154/0.2616, allocations: 88.88 MB / 498.3 MB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.2619, allocations: 99.92 kB / 498.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0344/0.2963, allocations: 13.38 MB / 0.4998 GB, free: 4.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2963, allocations: 0 / 0.4998 GB, free: 4.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.633e-05/0.2964, allocations: 28 kB / 0.4998 GB, free: 4.133 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001986/0.2984, allocations: 1.117 MB / 0.5009 GB, free: 2.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2984, allocations: 8.031 kB / 0.5009 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.299, allocations: 171 kB / 0.5011 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.2999, allocations: 0.5549 MB / 0.5016 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.3, allocations: 50 kB / 0.5017 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3001, allocations: 76 kB / 0.5017 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3014, allocations: 0.7901 MB / 0.5025 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3014, allocations: 4 kB / 0.5025 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.3015, allocations: 28 kB / 0.5025 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3015, allocations: 16 kB / 0.5026 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3028, allocations: 0.6207 MB / 0.5032 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1504/0.4532, allocations: 2.776 MB / 0.5059 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.4544, allocations: 0.5901 MB / 0.5064 GB, free: 88.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.4544, allocations: 13.52 kB / 0.5065 GB, free: 88.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.4553, allocations: 475.1 kB / 0.5069 GB, free: 88.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 3.016e-06/0.4553, allocations: 1.875 kB / 0.5069 GB, free: 88.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=69): time 0.003001/0.4583, allocations: 1.252 MB / 0.5081 GB, free: 88.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4583, allocations: 114.4 kB / 0.5082 GB, free: 88.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.4589, allocations: 0.499 MB / 0.5087 GB, free: 88.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.459, allocations: 41.95 kB / 0.5088 GB, free: 88.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4592, allocations: 351.7 kB / 0.5091 GB, free: 88.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.4594, allocations: 203.2 kB / 0.5093 GB, free: 88.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.4594, allocations: 15.25 kB / 0.5093 GB, free: 88.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.4595, allocations: 386.3 kB / 0.5097 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.4601, allocations: 253.4 kB / 0.5099 GB, free: 87.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.4608, allocations: 430.1 kB / 0.5103 GB, free: 87.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.4615, allocations: 316.8 kB / 0.5106 GB, free: 87.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.4615, allocations: 1.312 kB / 0.5106 GB, free: 87.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001451/0.4629, allocations: 0.8888 MB / 0.5115 GB, free: 87.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.4632, allocations: 1.859 MB / 0.5133 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4632, allocations: 3.938 kB / 0.5133 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.4636, allocations: 147.5 kB / 0.5135 GB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.4641, allocations: 132.7 kB / 0.5136 GB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.4662, allocations: 2.327 MB / 0.5159 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.4668, allocations: 90.75 kB / 0.516 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.4668, allocations: 35.61 kB / 0.516 GB, free: 83.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.4668, allocations: 3.844 kB / 0.516 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001189/0.468, allocations: 0.7754 MB / 0.5167 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4681, allocations: 3.938 kB / 0.5168 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.4684, allocations: 152 kB / 0.5169 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.4688, allocations: 124.6 kB / 0.517 GB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.4708, allocations: 2.328 MB / 0.5193 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.4713, allocations: 88.75 kB / 0.5194 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.4713, allocations: 27.5 kB / 0.5194 GB, free: 81.25 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 () * Number of clocked 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.0003697/0.4717, allocations: 315.5 kB / 0.5197 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4718, allocations: 73.72 kB / 0.5198 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.4732, allocations: 0.7896 MB / 0.5205 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4732, allocations: 7.812 kB / 0.5206 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4732, allocations: 0 / 0.5206 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4732, allocations: 7.406 kB / 0.5206 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.4753, allocations: 1.603 MB / 0.5221 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4753, allocations: 0 / 0.5221 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.4757, allocations: 98.19 kB / 0.5222 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/0.4761, allocations: 145.5 kB / 0.5224 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.4761, allocations: 14.81 kB / 0.5224 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.4781, allocations: 2.319 MB / 0.5246 GB, free: 77.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4781, allocations: 0 / 0.5246 GB, free: 77.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.48, allocations: 1.19 MB / 0.5258 GB, free: 77.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.4803, allocations: 220.2 kB / 0.526 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.4804, allocations: 15.69 kB / 0.526 GB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.4809, allocations: 53.19 kB / 0.5261 GB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.481, allocations: 75.2 kB / 0.5261 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.4811, allocations: 24.61 kB / 0.5262 GB, free: 77.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003874/0.4815, allocations: 391.7 kB / 0.5265 GB, free: 76.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4815, allocations: 0 / 0.5265 GB, free: 76.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001136/0.4826, allocations: 375.4 kB / 0.5269 GB, free: 76.89 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) * Number of clocked states: 0 () * 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.0001819/0.4828, allocations: 149.3 kB / 0.527 GB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.485, allocations: 1.524 MB / 0.5285 GB, free: 76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4851, allocations: 0 / 0.5285 GB, free: 76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.4858, allocations: 0.5282 MB / 0.529 GB, free: 75.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.4863, allocations: 119 kB / 0.5292 GB, free: 75.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.4884, allocations: 1.725 MB / 0.5308 GB, free: 74.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4888, allocations: 0.9734 MB / 0.5318 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003639/0.4892, allocations: 95.73 kB / 0.5319 GB, free: 73.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4893, allocations: 55.14 kB / 0.5319 GB, free: 73.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4893, allocations: 0 / 0.5319 GB, free: 73.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01443/0.5037, allocations: 10.6 MB / 0.5423 GB, free: 65.14 MB / 378.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