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: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01446/0.01446, allocations: 176.1 kB / 15.12 MB, free: 5.984 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 2.003/2.003, allocations: 194.5 MB / 210.3 MB, free: 8.781 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001985/0.001984, allocations: 128.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2542/0.2542, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000803/0.0008034, allocations: 11.41 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09703, allocations: 54.87 MB / 461.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/0.6098, allocations: 96.45 MB / 0.5445 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6102, allocations: 77.73 kB / 0.5446 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1159/0.7261, allocations: 31.54 MB / 0.5754 GB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.7261, allocations: 7.938 kB / 0.5754 GB, free: 15.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002381/0.7264, allocations: 54.27 kB / 0.5754 GB, free: 15.08 MB / 378.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.008276/0.7347, allocations: 2.279 MB / 0.5777 GB, free: 13.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.7347, allocations: 11.62 kB / 0.5777 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000992/0.7357, allocations: 271.7 kB / 0.5779 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.7363, allocations: 241.7 kB / 0.5782 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007531/0.7439, allocations: 2.178 MB / 0.5803 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.7441, allocations: 142 kB / 0.5804 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000464/0.7445, allocations: 173.5 kB / 0.5806 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007602/0.7522, allocations: 2.506 MB / 0.5831 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/0.7523, allocations: 3.938 kB / 0.5831 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004823/0.7528, allocations: 82.84 kB / 0.5831 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.753, allocations: 69.09 kB / 0.5832 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009383/0.7624, allocations: 2.102 MB / 0.5853 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/0.7894, allocations: 7.186 MB / 0.5923 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006797/0.7963, allocations: 1.794 MB / 0.594 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.7965, allocations: 15.5 kB / 0.594 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003535/0.8001, allocations: 0.9601 MB / 0.595 GB, free: 7.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 8.917e-06/0.8002, allocations: 0 / 0.595 GB, free: 7.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.02043/0.8206, allocations: 3.875 MB / 0.5988 GB, free: 6.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.8208, allocations: 237.1 kB / 0.599 GB, free: 6.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.8235, allocations: 1.175 MB / 0.6001 GB, free: 6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003916/0.8239, allocations: 76.38 kB / 0.6002 GB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009005/0.8248, allocations: 0.7983 MB / 0.601 GB, free: 5.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005806/0.8254, allocations: 380 kB / 0.6013 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.8256, allocations: 26.72 kB / 0.6014 GB, free: 5.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8257, allocations: 367.3 kB / 0.6017 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.8276, allocations: 0.7054 MB / 0.6024 GB, free: 4.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.8297, allocations: 1.003 MB / 0.6034 GB, free: 4.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.8318, allocations: 0.7684 MB / 0.6041 GB, free: 3.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.8319, allocations: 0 / 0.6041 GB, free: 3.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005555/0.8374, allocations: 2.123 MB / 0.6062 GB, free: 2.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005786/0.8381, allocations: 2.46 MB / 0.6086 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.8381, allocations: 7.625 kB / 0.6086 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.8404, allocations: 0.5422 MB / 0.6092 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.8418, allocations: 173.2 kB / 0.6093 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.8563, allocations: 6.057 MB / 0.6152 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.8586, allocations: 218.9 kB / 0.6154 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.8589, allocations: 44 kB / 0.6155 GB, free: 9.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8589, allocations: 4 kB / 0.6155 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005809/0.8648, allocations: 1.945 MB / 0.6174 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/0.8649, allocations: 8.188 kB / 0.6174 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.867, allocations: 0.5394 MB / 0.6179 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.8685, allocations: 171.7 kB / 0.6181 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.8859, allocations: 6.032 MB / 0.624 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.8887, allocations: 195 kB / 0.6242 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/0.8891, allocations: 51.94 kB / 0.6242 GB, free: 0.875 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (128): * Single equations (assignments): 127 * 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.003039/0.8921, allocations: 0.8127 MB / 0.625 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007339/0.8929, allocations: 138.4 kB / 0.6251 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.8938, allocations: 178.1 kB / 0.6253 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.8938, allocations: 12 kB / 0.6253 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.8938, allocations: 4 kB / 0.6253 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.8939, allocations: 7.969 kB / 0.6253 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.9078, allocations: 3.806 MB / 0.629 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.9078, allocations: 0 / 0.629 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.909, allocations: 99.89 kB / 0.6291 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/0.9116, allocations: 0.5161 MB / 0.6296 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.9118, allocations: 27.98 kB / 0.6297 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0673/0.9791, allocations: 6.049 MB / 0.6356 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9792, allocations: 0 / 0.6356 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.9897, allocations: 2.827 MB / 0.6383 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/0.9916, allocations: 387.2 kB / 0.6387 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/0.9921, allocations: 39.98 kB / 0.6387 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.9937, allocations: 123.9 kB / 0.6389 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007698/0.9945, allocations: 184.7 kB / 0.639 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.9947, allocations: 40.05 kB / 0.6391 GB, free: 1.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002699/0.9974, allocations: 0.8997 MB / 0.64 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.9975, allocations: 4 kB / 0.64 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004097/1.002, allocations: 0.9346 MB / 0.6409 GB, free: 15.58 MB / 426.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].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,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 Backend phase and start with SimCode phase: time 0.008396/1.01, allocations: 3.45 MB / 0.6442 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00992/1.02, allocations: 3.306 MB / 0.6475 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.02, allocations: 1.625 kB / 0.6475 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003596/1.024, allocations: 1.171 MB / 0.6486 GB, free: 7.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.027, allocations: 348.5 kB / 0.649 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.044, allocations: 9.722 MB / 0.6584 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/1.047, allocations: 1.805 MB / 0.6602 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002425/1.05, allocations: 463.2 kB / 0.6606 GB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.051, allocations: 0.6438 MB / 0.6613 GB, free: 10.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/1.051, allocations: 0 / 0.6613 GB, free: 10.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.182, allocations: 43.96 MB / 0.7042 GB, free: 14.37 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00037/1.183, allocations: 232.4 kB / 0.7044 GB, free: 14.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.829/5.011, allocations: 0 / 0.7044 GB, free: 14.12 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat