Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") translateModel(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3961, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse): time 0.008981/0.4052, allocations: 6.503 MB / 0.538 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005522/0.4107, allocations: 1.99 MB / 0.5399 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.4121, allocations: 47 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.4132, allocations: 343.6 kB / 0.5403 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.4146, allocations: 487.4 kB / 0.5408 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.4156, allocations: 409.5 kB / 0.5412 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.4185, allocations: 2.559 MB / 0.5437 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.4209, allocations: 1.94 MB / 0.5456 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.4226, allocations: 1.113 MB / 0.5467 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.4248, allocations: 1.237 MB / 0.5479 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.4253, allocations: 296 kB / 0.5481 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.4258, allocations: 296 kB / 0.5484 GB, free: 464 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006716/0.4265, allocations: 0.748 MB / 0.5492 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.4278, allocations: 1.256 MB / 0.5504 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.4312, allocations: 3.682 MB / 0.554 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4312, allocations: 4 kB / 0.554 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4312, allocations: 0 / 0.554 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.004e-05/0.4313, allocations: 0 / 0.554 GB, free: 10.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.005063/0.4364, allocations: 2.672 MB / 0.5566 GB, free: 8.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4364, allocations: 8.031 kB / 0.5566 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.4371, allocations: 262.1 kB / 0.5569 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.4395, allocations: 1.479 MB / 0.5583 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.4396, allocations: 148 kB / 0.5584 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.4399, allocations: 184.1 kB / 0.5586 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.4443, allocations: 2.604 MB / 0.5612 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.4443, allocations: 0 / 0.5612 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.4445, allocations: 75.98 kB / 0.5612 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-05/0.4446, allocations: 83.62 kB / 0.5613 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.4485, allocations: 2.27 MB / 0.5635 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.4605, allocations: 7.234 MB / 0.5706 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.4633, allocations: 1.815 MB / 0.5724 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.4657, allocations: 1.384 MB / 0.5737 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.4658, allocations: 17 kB / 0.5737 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.4675, allocations: 1.008 MB / 0.5747 GB, free: 5.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 4.618e-06/0.4675, allocations: 4 kB / 0.5747 GB, free: 5.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.009838/0.4774, allocations: 3.835 MB / 0.5785 GB, free: 1.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.4776, allocations: 260.6 kB / 0.5787 GB, free: 1.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.4802, allocations: 1.344 MB / 0.58 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.4804, allocations: 73.67 kB / 0.5801 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000895/0.4813, allocations: 0.824 MB / 0.5809 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.4817, allocations: 406.3 kB / 0.5813 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/0.4822, allocations: 279.4 kB / 0.5816 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4824, allocations: 361.9 kB / 0.5819 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.4837, allocations: 0.7464 MB / 0.5826 GB, free: 12.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.4851, allocations: 1.066 MB / 0.5837 GB, free: 11.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.4875, allocations: 1.626 MB / 0.5853 GB, free: 10.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.4876, allocations: 4 kB / 0.5853 GB, free: 10.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003928/0.4915, allocations: 2.183 MB / 0.5874 GB, free: 7.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.4915, allocations: 8 kB / 0.5874 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4916, allocations: 8 kB / 0.5874 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.493, allocations: 0.5434 MB / 0.5879 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.4938, allocations: 199.6 kB / 0.5881 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009652/0.5035, allocations: 6.338 MB / 0.5943 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.5051, allocations: 194.7 kB / 0.5945 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.5054, allocations: 55.98 kB / 0.5946 GB, free: 372 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002696/0.5081, allocations: 1.347 MB / 0.5959 GB, free: 15.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001676/0.5098, allocations: 1.05 MB / 0.5969 GB, free: 13.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002839/0.5127, allocations: 1.61 MB / 0.5985 GB, free: 12.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-05/0.5127, allocations: 0 / 0.5985 GB, free: 12.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.005191/0.5179, allocations: 2.159 MB / 0.6006 GB, free: 9.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.518, allocations: 8 kB / 0.6006 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.518, allocations: 12.12 kB / 0.6006 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.5196, allocations: 0.5514 MB / 0.6011 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.5205, allocations: 195.6 kB / 0.6013 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/0.5302, allocations: 6.33 MB / 0.6075 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.5319, allocations: 198.9 kB / 0.6077 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.5321, allocations: 48 kB / 0.6077 GB, free: 2.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 57 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2m.fire_n[3],pulse2m.fire_n[2],pulse2m.fire_n[1],pulse2m.fire_p[3],pulse2m.fire_p[2],pulse2m.fire_p[1],pulse2m.twomPulse.timerNegative[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[1].y,rectifier.pre[3].y,rectifier.pre[3].u,$PRE.rectifier.pre[3].u,rectifier.pre[2].y,rectifier.pre[2].u,$PRE.rectifier.pre[2].u,rectifier.pre[1].y,rectifier.pre[1].u,$PRE.rectifier.pre[1].u,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[1].off,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0006295/0.5328, allocations: 320 kB / 0.608 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.5332, allocations: 146.2 kB / 0.6082 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/0.5339, allocations: 182.9 kB / 0.6084 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.5339, allocations: 11.97 kB / 0.6084 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5339, allocations: 0 / 0.6084 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/0.5349, allocations: 406.9 kB / 0.6088 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/0.5352, allocations: 39.98 kB / 0.6088 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.5361, allocations: 103.9 kB / 0.6089 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.5364, allocations: 133.1 kB / 0.609 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004585/0.541, allocations: 2.246 MB / 0.6112 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004216/0.5452, allocations: 2.682 MB / 0.6138 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/0.5464, allocations: 0.7909 MB / 0.6146 GB, free: 11.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.5482, allocations: 0.9205 MB / 0.6155 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Backend: time 1.022e-06/0.5482, allocations: 0 / 0.6155 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005957/0.5541, allocations: 2.883 MB / 0.6183 GB, free: 7.547 MB / 478.1 MB Notification: Performance of SimCode: time 0.007733/0.5619, allocations: 4.246 MB / 0.6225 GB, free: 3.246 MB / 478.1 MB Notification: Performance of Templates: time 0.06476/0.6267, allocations: 36.94 MB / 0.6585 GB, free: 14.53 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe 2>&1)