Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.001489, allocations: 185.7 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 97.83 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.4541, allocations: 88.17 MB / 462.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4544, allocations: 91.94 kB / 462.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05905/0.5135, allocations: 14.22 MB / 477 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5136, allocations: 0 / 477 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.638e-05/0.5136, allocations: 20 kB / 477 MB, free: 10.18 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002694/0.5164, allocations: 0.9752 MB / 478 MB, free: 9.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5164, allocations: 8.031 kB / 478 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.5167, allocations: 94.92 kB / 478.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.5179, allocations: 0.5024 MB / 478.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/0.518, allocations: 57.98 kB / 478.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.5182, allocations: 72 kB / 478.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.5202, allocations: 0.7381 MB / 479.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.5203, allocations: 0 / 479.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.5204, allocations: 24 kB / 479.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.5204, allocations: 20 kB / 479.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.5224, allocations: 0.5632 MB / 480.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/0.5291, allocations: 2.694 MB / 482.8 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.5309, allocations: 0.6175 MB / 483.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.531, allocations: 8.984 kB / 483.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008898/0.5319, allocations: 357.8 kB / 483.8 MB, free: 3.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 3.356e-06/0.5319, allocations: 0 / 483.8 MB, free: 3.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.003594/0.5355, allocations: 0.9912 MB / 484.8 MB, free: 2.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.5356, allocations: 127.3 kB / 484.9 MB, free: 1.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/0.5366, allocations: 449.1 kB / 485.3 MB, free: 1.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.5366, allocations: 45.7 kB / 485.4 MB, free: 1.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.537, allocations: 362.7 kB / 485.7 MB, free: 1.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.5372, allocations: 177.5 kB / 485.9 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.5373, allocations: 8 kB / 485.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5374, allocations: 342.8 kB / 486.2 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.5381, allocations: 209.2 kB / 486.4 MB, free: 424 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.5389, allocations: 368.1 kB / 486.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.5397, allocations: 226.1 kB / 487 MB, free: 15.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5397, allocations: 0 / 487 MB, free: 15.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00203/0.5417, allocations: 0.6797 MB / 487.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006901/0.5424, allocations: 1.571 MB / 489.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5425, allocations: 7.953 kB / 489.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/0.5432, allocations: 149.6 kB / 489.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.5439, allocations: 103.8 kB / 489.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004726/0.5486, allocations: 3.475 MB / 493 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.5495, allocations: 91.89 kB / 493.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.5496, allocations: 28.06 kB / 493.1 MB, free: 9.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5496, allocations: 4.938 kB / 493.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001715/0.5513, allocations: 0.6085 MB / 493.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5514, allocations: 4 kB / 493.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.552, allocations: 145.8 kB / 493.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.5526, allocations: 95.83 kB / 494 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.5571, allocations: 3.467 MB / 497.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.5577, allocations: 75.66 kB / 497.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.5578, allocations: 24 kB / 497.5 MB, free: 4.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006281/0.5584, allocations: 317.4 kB / 497.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.5586, allocations: 67.2 kB / 497.9 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.5589, allocations: 73.59 kB / 498 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5589, allocations: 11.94 kB / 498 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5589, allocations: 4 kB / 498 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.5589, allocations: 3.984 kB / 498 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.5633, allocations: 1.386 MB / 499.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5633, allocations: 0 / 499.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.5638, allocations: 55.91 kB / 499.4 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/0.5645, allocations: 133.6 kB / 499.6 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.5645, allocations: 12 kB / 499.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2608/0.8253, allocations: 3.311 MB / 0.4911 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8254, allocations: 0 / 0.4911 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.8281, allocations: 0.9287 MB / 0.492 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.8285, allocations: 189.6 kB / 0.4922 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.8287, allocations: 14 kB / 0.4922 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.8293, allocations: 46.62 kB / 0.4923 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.8296, allocations: 76.94 kB / 0.4923 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.8297, allocations: 18.61 kB / 0.4923 GB, free: 103.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006908/0.8304, allocations: 346.8 kB / 0.4927 GB, free: 103.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.8304, allocations: 0 / 0.4927 GB, free: 103.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001595/0.832, allocations: 344.7 kB / 0.493 GB, free: 103.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002677/0.8323, allocations: 137.7 kB / 0.4931 GB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003043/0.8354, allocations: 1.389 MB / 0.4945 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.8354, allocations: 0 / 0.4945 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.8364, allocations: 0.5336 MB / 0.495 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.8374, allocations: 99.95 kB / 0.4951 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.841, allocations: 1.617 MB / 0.4967 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.8415, allocations: 0.955 MB / 0.4976 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.8418, allocations: 42.5 kB / 0.4977 GB, free: 101.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8418, allocations: 0 / 0.4977 GB, free: 101.2 MB / 378.7 MB Notification: Performance of Templates: time 0.02387/0.8657, allocations: 13.77 MB / 0.5111 GB, free: 98.73 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches