Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") [: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.001512/0.001512, allocations: 190.8 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000873/0.0008731, allocations: 87 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.415e-06/8.516e-06, allocations: 0 / 343.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09279, allocations: 51.47 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.3666, allocations: 89.02 MB / 483.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.3669, allocations: 79.83 kB / 483.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0283/0.3952, allocations: 11.2 MB / 494.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.875e-05/0.3953, allocations: 16.55 kB / 494.9 MB, free: 11.22 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001764/0.3971, allocations: 0.8965 MB / 495.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3972, allocations: 12.03 kB / 495.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.3975, allocations: 94.97 kB / 495.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.3984, allocations: 0.502 MB / 496.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.3985, allocations: 20 kB / 496.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.3986, allocations: 43.91 kB / 496.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001049/0.3997, allocations: 486.4 kB / 497 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.4009, allocations: 0.611 MB / 497.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.4009, allocations: 2.344 kB / 497.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.401, allocations: 3.938 kB / 497.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.401, allocations: 16 kB / 497.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.4052, allocations: 2.544 MB / 0.4884 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.406, allocations: 462.4 kB / 0.4889 GB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.4063, allocations: 257 kB / 0.4891 GB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.4064, allocations: 4.438 kB / 0.4891 GB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.4068, allocations: 302.6 kB / 0.4894 GB, free: 6.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.577e-06/0.4068, allocations: 0 / 0.4894 GB, free: 6.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009007/0.4078, allocations: 490.2 kB / 0.4899 GB, free: 5.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.4078, allocations: 139.6 kB / 0.49 GB, free: 5.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.4083, allocations: 383 kB / 0.4904 GB, free: 5.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.4084, allocations: 29.7 kB / 0.4904 GB, free: 5.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.4086, allocations: 269.1 kB / 0.4907 GB, free: 5.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.4087, allocations: 170.1 kB / 0.4908 GB, free: 4.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.4087, allocations: 0 / 0.4908 GB, free: 4.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4089, allocations: 360.4 kB / 0.4912 GB, free: 4.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.4092, allocations: 182 kB / 0.4913 GB, free: 4.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.4096, allocations: 332.3 kB / 0.4917 GB, free: 4.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.4099, allocations: 191.8 kB / 0.4918 GB, free: 4.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4099, allocations: 4 kB / 0.4918 GB, free: 4.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001011/0.4109, allocations: 0.6001 MB / 0.4924 GB, free: 3.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006052/0.4115, allocations: 1.568 MB / 0.494 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4115, allocations: 4 kB / 0.494 GB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.4121, allocations: 152.7 kB / 0.4941 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.4125, allocations: 90.95 kB / 0.4942 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.4149, allocations: 2.064 MB / 0.4962 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.4154, allocations: 71.72 kB / 0.4963 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.4155, allocations: 31.42 kB / 0.4963 GB, free: 15.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.4155, allocations: 8 kB / 0.4963 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008219/0.4163, allocations: 0.4989 MB / 0.4968 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.4164, allocations: 4.5 kB / 0.4968 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.4167, allocations: 151.9 kB / 0.497 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4171, allocations: 82.89 kB / 0.497 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.4192, allocations: 2.068 MB / 0.4991 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.4197, allocations: 53.27 kB / 0.4991 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.4197, allocations: 28.17 kB / 0.4991 GB, free: 13.34 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: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,rectifier.diode_n1.off,rectifier.diode_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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.4199, allocations: 135.9 kB / 0.4993 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.42, allocations: 59.25 kB / 0.4993 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.4202, allocations: 59.84 kB / 0.4994 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4202, allocations: 4 kB / 0.4994 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4202, allocations: 0 / 0.4994 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4203, allocations: 7.984 kB / 0.4994 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.4222, allocations: 1.235 MB / 0.5006 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4222, allocations: 0 / 0.5006 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.4225, allocations: 43.97 kB / 0.5006 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.4229, allocations: 148.7 kB / 0.5008 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.4229, allocations: 3.984 kB / 0.5008 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.4251, allocations: 2.037 MB / 0.5028 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4252, allocations: 0 / 0.5028 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001239/0.4264, allocations: 0.8598 MB / 0.5036 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.4267, allocations: 184.3 kB / 0.5038 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4268, allocations: 9.5 kB / 0.5038 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.4272, allocations: 39.95 kB / 0.5038 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4273, allocations: 40.44 kB / 0.5039 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.4273, allocations: 16 kB / 0.5039 GB, free: 8.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000327/0.4277, allocations: 279.2 kB / 0.5042 GB, free: 8.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009637/0.4286, allocations: 295 kB / 0.5044 GB, free: 8.055 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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: 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.4289, allocations: 138.6 kB / 0.5046 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.4306, allocations: 1.041 MB / 0.5056 GB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4306, allocations: 4 kB / 0.5056 GB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.4312, allocations: 380.2 kB / 0.506 GB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.4317, allocations: 90.95 kB / 0.506 GB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.434, allocations: 0.9156 MB / 0.5069 GB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006704/0.4347, allocations: 0.9935 MB / 0.5079 GB, free: 4.414 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4347, allocations: 0 / 0.5079 GB, free: 4.414 MB / 378.7 MB Notification: Performance of Templates: time 0.01952/0.4542, allocations: 11.46 MB / 0.5191 GB, free: 9.18 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches