Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 187.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3647, allocations: 60.82 MB / 0.5196 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse): time 0.00749/0.3722, allocations: 6.451 MB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.3771, allocations: 1.919 MB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.3783, allocations: 46 kB / 0.5278 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3794, allocations: 338.9 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.3809, allocations: 499.6 kB / 0.5286 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.3817, allocations: 393.1 kB / 0.529 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002857/0.3846, allocations: 2.543 MB / 0.5314 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.387, allocations: 1.943 MB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.3889, allocations: 1.105 MB / 0.5344 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.3906, allocations: 1.237 MB / 0.5356 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.3911, allocations: 293.9 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.3916, allocations: 295.8 kB / 0.5362 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.3923, allocations: 0.7458 MB / 0.5369 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.3937, allocations: 1.239 MB / 0.5381 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.3973, allocations: 3.675 MB / 0.5417 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3973, allocations: 1.031 kB / 0.5417 GB, free: 4.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3973, allocations: 0 / 0.5417 GB, free: 4.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.361e-05/0.3974, allocations: 3.938 kB / 0.5417 GB, free: 4.777 MB / 398.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.005523/0.4029, allocations: 2.655 MB / 0.5443 GB, free: 2.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.403, allocations: 8.031 kB / 0.5443 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.4034, allocations: 238.1 kB / 0.5445 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.4058, allocations: 1.451 MB / 0.546 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.4059, allocations: 152 kB / 0.5461 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.4062, allocations: 188.1 kB / 0.5463 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.4104, allocations: 2.596 MB / 0.5488 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.4104, allocations: 7.938 kB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.4106, allocations: 79.98 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.728e-05/0.4107, allocations: 71.64 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.4143, allocations: 2.27 MB / 0.5512 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.4258, allocations: 7.214 MB / 0.5582 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.4285, allocations: 1.824 MB / 0.56 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.4306, allocations: 1.386 MB / 0.5614 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/0.4307, allocations: 13 kB / 0.5614 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.4322, allocations: 1 MB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.446e-06/0.4322, allocations: 3.938 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.008794/0.441, allocations: 3.846 MB / 0.5661 GB, free: 12.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.4412, allocations: 256.6 kB / 0.5664 GB, free: 11.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.4431, allocations: 1.323 MB / 0.5677 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.4432, allocations: 69.69 kB / 0.5677 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.444, allocations: 0.8237 MB / 0.5685 GB, free: 9.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.4444, allocations: 414.3 kB / 0.5689 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/0.4448, allocations: 275.5 kB / 0.5692 GB, free: 8.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.445, allocations: 365.9 kB / 0.5695 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4461, allocations: 0.7269 MB / 0.5702 GB, free: 7.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.4475, allocations: 1.062 MB / 0.5713 GB, free: 6.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.4498, allocations: 1.633 MB / 0.5729 GB, free: 4.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4498, allocations: 7.938 kB / 0.5729 GB, free: 4.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003474/0.4533, allocations: 2.182 MB / 0.575 GB, free: 2.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4533, allocations: 8.719 kB / 0.575 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4533, allocations: 4 kB / 0.575 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.4546, allocations: 0.544 MB / 0.5756 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.4553, allocations: 199.6 kB / 0.5758 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/0.4635, allocations: 6.337 MB / 0.5819 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.4647, allocations: 198.6 kB / 0.5821 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.4648, allocations: 52 kB / 0.5822 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002068/0.4669, allocations: 1.335 MB / 0.5835 GB, free: 9.805 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00132/0.4682, allocations: 1.054 MB / 0.5845 GB, free: 8.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002147/0.4704, allocations: 1.602 MB / 0.5861 GB, free: 6.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.4704, allocations: 3.938 kB / 0.5861 GB, free: 6.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.003275/0.4737, allocations: 2.156 MB / 0.5882 GB, free: 4.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4737, allocations: 11.98 kB / 0.5882 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4737, allocations: 8 kB / 0.5882 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4749, allocations: 0.5398 MB / 0.5887 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.4755, allocations: 195.6 kB / 0.5889 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/0.4836, allocations: 6.326 MB / 0.5951 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.485, allocations: 202.9 kB / 0.5953 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4851, allocations: 52 kB / 0.5953 GB, free: 13.29 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.0004276/0.4855, allocations: 307.9 kB / 0.5956 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.4858, allocations: 146.2 kB / 0.5958 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.4863, allocations: 182.7 kB / 0.5959 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4863, allocations: 4.109 kB / 0.596 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4863, allocations: 4 kB / 0.596 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.4871, allocations: 414.9 kB / 0.5964 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.4873, allocations: 39.98 kB / 0.5964 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/0.488, allocations: 95.89 kB / 0.5965 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.4883, allocations: 133.1 kB / 0.5966 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004108/0.4924, allocations: 2.251 MB / 0.5988 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003714/0.4962, allocations: 2.686 MB / 0.6014 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00114/0.4973, allocations: 0.7986 MB / 0.6022 GB, free: 6.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.4985, allocations: 0.9082 MB / 0.6031 GB, free: 5.277 MB / 462.1 MB Notification: Performance of Backend: time 2.41e-07/0.4985, allocations: 0 / 0.6031 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005151/0.5037, allocations: 2.867 MB / 0.6059 GB, free: 2.379 MB / 462.1 MB Notification: Performance of SimCode: time 0.006684/0.5104, allocations: 4.236 MB / 0.61 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Templates: time 0.05533/0.5657, allocations: 36.79 MB / 0.646 GB, free: 9.59 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.pipe 2>&1)