Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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) 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 107.7 kB / 16.92 MB, free: 5.656 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.001865/0.001865, allocations: 189.6 kB / 17.85 MB, free: 5.176 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.462/1.462, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 47.56 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.118, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005985/0.1241, allocations: 3.433 MB / 353.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1257, allocations: 0.8413 MB / 354.5 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.1261, allocations: 11.98 kB / 354.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.1263, allocations: 63.31 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.1267, allocations: 134.8 kB / 354.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.127, allocations: 143.7 kB / 354.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.1276, allocations: 0.5096 MB / 355.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.1279, allocations: 178 kB / 355.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1282, allocations: 191.3 kB / 355.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1285, allocations: 215 kB / 355.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.1286, allocations: 48 kB / 355.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.1287, allocations: 48 kB / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1288, allocations: 103.6 kB / 356.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.129, allocations: 234.8 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.1295, allocations: 0.5139 MB / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1295, allocations: 0 / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1295, allocations: 0 / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1295, allocations: 0 / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001279/0.1308, allocations: 0.7301 MB / 357.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1309, allocations: 11.89 kB / 357.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.131, allocations: 74.72 kB / 357.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.398e-05/0.1311, allocations: 48.38 kB / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1315, allocations: 336.2 kB / 358 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1315, allocations: 29.38 kB / 358 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.1316, allocations: 36.38 kB / 358.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1322, allocations: 399.8 kB / 358.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1323, allocations: 0 / 358.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.1323, allocations: 20 kB / 358.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1323, allocations: 8 kB / 358.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.1328, allocations: 259.8 kB / 358.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.1349, allocations: 1.5 MB / 360.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1354, allocations: 252.5 kB / 360.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.1357, allocations: 165.2 kB / 360.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1358, allocations: 4.234 kB / 360.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.1362, allocations: 230.5 kB / 360.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 3.377e-06/0.1362, allocations: 0 / 360.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001579/0.1378, allocations: 0.5931 MB / 361.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.1379, allocations: 106.8 kB / 361.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1382, allocations: 296.5 kB / 361.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1382, allocations: 33.69 kB / 361.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1384, allocations: 216.3 kB / 362.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.1385, allocations: 98.61 kB / 362.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1386, allocations: 66.06 kB / 362.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1387, allocations: 346.8 kB / 362.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1389, allocations: 88.7 kB / 362.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.1392, allocations: 229.4 kB / 362.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1397, allocations: 326.7 kB / 363.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.1397, allocations: 7.938 kB / 363.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001165/0.1409, allocations: 409.5 kB / 363.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1409, allocations: 4 kB / 363.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1409, allocations: 4 kB / 363.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.1414, allocations: 89.31 kB / 363.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.1418, allocations: 59.84 kB / 363.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.1446, allocations: 1.994 MB / 365.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1449, allocations: 47.59 kB / 365.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1449, allocations: 12 kB / 365.9 MB, free: 3.992 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.1451, allocations: 173.6 kB / 366 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.1452, allocations: 31.62 kB / 366.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.1453, allocations: 43.16 kB / 366.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1454, allocations: 4 kB / 366.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1454, allocations: 0 / 366.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.1454, allocations: 0 / 366.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.1461, allocations: 0.5732 MB / 366.7 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1461, allocations: 0 / 366.7 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.1463, allocations: 27.92 kB / 366.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.1466, allocations: 84.97 kB / 366.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.1466, allocations: 11.98 kB / 366.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.149, allocations: 1.99 MB / 368.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.149, allocations: 3.938 kB / 368.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.1505, allocations: 494.8 kB / 369.3 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.1508, allocations: 140.7 kB / 369.4 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.1509, allocations: 8 kB / 369.4 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.1512, allocations: 15.98 kB / 369.4 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.1513, allocations: 23.97 kB / 369.5 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.1513, allocations: 7.984 kB / 369.5 MB, free: 124 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1985/0.3498, allocations: 207 kB / 369.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.3499, allocations: 0.8125 kB / 369.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00112/0.351, allocations: 111.9 kB / 369.8 MB, free: 25.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/0.3532, allocations: 1.066 MB / 370.8 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3546, allocations: 422.5 kB / 371.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3546, allocations: 0 / 371.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.3554, allocations: 283.9 kB / 371.5 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.356, allocations: 64.23 kB / 371.6 MB, free: 24.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007105/0.3632, allocations: 3.44 MB / 375 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3635, allocations: 0.8031 MB / 375.8 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.3638, allocations: 43.45 kB / 375.9 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3641, allocations: 124.5 kB / 376 MB, free: 21.71 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3641, allocations: 0 / 376 MB, free: 21.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/0.4107, allocations: 8.094 MB / 384.1 MB, free: 19.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 4.844 kB / 384.1 MB, free: 19.91 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)