Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002927/0.002927, allocations: 364.7 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.034/4.034, allocations: 388.9 MB / 405.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00351/0.003509, allocations: 227.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7056/0.7056, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007292/0.0007297, allocations: 10.78 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1247, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse): time 0.007581/0.1323, allocations: 5.673 MB / 0.6856 GB, free: 35.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.137, allocations: 1.813 MB / 0.6874 GB, free: 34.13 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1382, allocations: 39.69 kB / 0.6875 GB, free: 34.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1394, allocations: 254.4 kB / 0.6877 GB, free: 33.84 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5703:20-5703:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5715:20-5715:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.002055/0.1415, allocations: 481.2 kB / 0.6882 GB, free: 33.37 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1427, allocations: 256.9 kB / 0.6884 GB, free: 33.12 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5703:20-5703:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5715:20-5715:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.003353/0.1461, allocations: 2.449 MB / 0.6908 GB, free: 30.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.1491, allocations: 1.365 MB / 0.6921 GB, free: 29.27 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5703:20-5703:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5715:20-5715:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.1505, allocations: 0.7041 MB / 0.6928 GB, free: 28.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1521, allocations: 0.9101 MB / 0.6937 GB, free: 27.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004052/0.1526, allocations: 100 kB / 0.6938 GB, free: 27.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.1532, allocations: 96 kB / 0.6939 GB, free: 27.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.1537, allocations: 0.4944 MB / 0.6944 GB, free: 26.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.1543, allocations: 424.6 kB / 0.6948 GB, free: 26.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.1577, allocations: 2.801 MB / 0.6975 GB, free: 23.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.1577, allocations: 7.938 kB / 0.6975 GB, free: 23.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1577, allocations: 0 / 0.6975 GB, free: 23.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.559e-05/0.1578, allocations: 4 kB / 0.6975 GB, free: 23.71 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.006836/0.1647, allocations: 2.219 MB / 0.6997 GB, free: 21.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1647, allocations: 12.03 kB / 0.6997 GB, free: 21.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.1656, allocations: 233.2 kB / 0.6999 GB, free: 21.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.169, allocations: 1.256 MB / 0.7011 GB, free: 19.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.1691, allocations: 139.5 kB / 0.7013 GB, free: 19.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004552/0.1696, allocations: 191.8 kB / 0.7015 GB, free: 19.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/0.1761, allocations: 2.496 MB / 0.7039 GB, free: 17.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/0.1762, allocations: 3.938 kB / 0.7039 GB, free: 17.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.1764, allocations: 79.94 kB / 0.704 GB, free: 16.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.1765, allocations: 71.52 kB / 0.704 GB, free: 16.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006007/0.1826, allocations: 2.184 MB / 0.7062 GB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.1996, allocations: 7.127 MB / 0.7131 GB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.2033, allocations: 1.703 MB / 0.7148 GB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.2055, allocations: 0.9507 MB / 0.7157 GB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.2056, allocations: 16.98 kB / 0.7157 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002138/0.2077, allocations: 0.9729 MB / 0.7167 GB, free: 3.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.98e-06/0.2078, allocations: 0 / 0.7167 GB, free: 3.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=128): time 0.3178/0.5256, allocations: 3.981 MB / 0.7206 GB, free: 44.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.5258, allocations: 233 kB / 0.7208 GB, free: 43.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.5285, allocations: 1.273 MB / 0.7221 GB, free: 43.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003194/0.5289, allocations: 66.55 kB / 0.7221 GB, free: 43.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008369/0.5297, allocations: 0.807 MB / 0.7229 GB, free: 43.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004805/0.5302, allocations: 387.6 kB / 0.7233 GB, free: 43.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5303, allocations: 27.62 kB / 0.7233 GB, free: 43.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5305, allocations: 363.4 kB / 0.7236 GB, free: 42.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.5324, allocations: 0.7042 MB / 0.7243 GB, free: 42.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5346, allocations: 1.037 MB / 0.7253 GB, free: 42.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.5366, allocations: 0.7712 MB / 0.7261 GB, free: 41.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.5367, allocations: 2.719 kB / 0.7261 GB, free: 41.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00573/0.5424, allocations: 2.132 MB / 0.7282 GB, free: 40.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.5427, allocations: 306.2 kB / 0.7285 GB, free: 40.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.5428, allocations: 8.516 kB / 0.7285 GB, free: 40.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.545, allocations: 0.5358 MB / 0.729 GB, free: 40.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.5465, allocations: 183.2 kB / 0.7292 GB, free: 40.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.5589, allocations: 5.865 MB / 0.7349 GB, free: 37.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5609, allocations: 211.8 kB / 0.7351 GB, free: 36.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.561, allocations: 54.95 kB / 0.7352 GB, free: 36.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5611, allocations: 2.938 kB / 0.7352 GB, free: 36.9 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005016/0.5661, allocations: 1.967 MB / 0.7371 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/0.5662, allocations: 6.906 kB / 0.7371 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/0.5683, allocations: 0.5548 MB / 0.7376 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5698, allocations: 175.7 kB / 0.7378 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.5824, allocations: 5.835 MB / 0.7435 GB, free: 32.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.5844, allocations: 190.8 kB / 0.7437 GB, free: 32.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.5845, allocations: 49.47 kB / 0.7437 GB, free: 32.32 MB / 346.7 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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 {6 36} Notification: Performance of prepare postOptimizeDAE: time 0.001759/0.5863, allocations: 0.8163 MB / 0.7445 GB, free: 31.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.5867, allocations: 139.3 kB / 0.7447 GB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.5872, allocations: 180.4 kB / 0.7448 GB, free: 31.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.5873, allocations: 9.062 kB / 0.7448 GB, free: 31.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5873, allocations: 0 / 0.7448 GB, free: 31.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/0.5881, allocations: 401.2 kB / 0.7452 GB, free: 31.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.5885, allocations: 30.75 kB / 0.7453 GB, free: 31.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.5898, allocations: 117.3 kB / 0.7454 GB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.5902, allocations: 129.5 kB / 0.7455 GB, free: 31.1 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006897/0.5972, allocations: 2.206 MB / 0.7476 GB, free: 29.95 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005799/0.603, allocations: 2.567 MB / 0.7502 GB, free: 28.25 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001715/0.6048, allocations: 0.7558 MB / 0.7509 GB, free: 27.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.6065, allocations: 0.8682 MB / 0.7517 GB, free: 26.62 MB / 346.7 MB Notification: Performance of Backend: time 7.71e-07/0.6066, allocations: 0 / 0.7517 GB, free: 26.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007455/0.614, allocations: 2.83 MB / 0.7545 GB, free: 23.76 MB / 346.7 MB Notification: Performance of SimCode: time 0.009317/0.6234, allocations: 4.69 MB / 0.7591 GB, free: 19.02 MB / 346.7 MB Notification: Performance of Templates: time 0.0835/0.7069, allocations: 31.92 MB / 0.7903 GB, free: 3.273 MB / 362.7 MB