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.000993/0.0009932, allocations: 93.47 kB / 16.65 MB, free: 6.535 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.00123/0.001231, allocations: 176.8 kB / 17.56 MB, free: 6.18 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.41/1.41, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 8 kB / 301.6 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 50.41 MB / 352 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004653/0.1165, allocations: 3.096 MB / 355.1 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1186, allocations: 0.8181 MB / 355.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.1191, allocations: 7.938 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1194, allocations: 43.61 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.12, allocations: 111.2 kB / 356 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.1205, allocations: 115.8 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.1213, allocations: 493.9 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.1216, allocations: 161.6 kB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.122, allocations: 151.3 kB / 356.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.1223, allocations: 191 kB / 357.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.1224, allocations: 23.94 kB / 357.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.1225, allocations: 24 kB / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.1226, allocations: 75.62 kB / 357.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.1229, allocations: 232.5 kB / 357.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.1234, allocations: 486.1 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1234, allocations: 0 / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1234, allocations: 0 / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.1234, allocations: 0 / 357.9 MB, free: 13.33 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.001435/0.1249, allocations: 0.6561 MB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.125, allocations: 8.031 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.1251, allocations: 78.7 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1252, allocations: 48.38 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.1258, allocations: 332.3 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1258, allocations: 33.38 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.1259, allocations: 40.28 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/0.1267, allocations: 403.8 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1267, allocations: 0 / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.1267, allocations: 12 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1267, allocations: 8 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.1273, allocations: 275.8 kB / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.1296, allocations: 1.504 MB / 361.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.1301, allocations: 243.4 kB / 361.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.1305, allocations: 178.2 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1305, allocations: 240 / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.131, allocations: 237.9 kB / 362 MB, free: 9.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.131, allocations: 0 / 362 MB, free: 9.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001587/0.1326, allocations: 0.5927 MB / 362.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.1327, allocations: 110.8 kB / 362.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.1331, allocations: 296.6 kB / 363 MB, free: 8.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1331, allocations: 33.73 kB / 363 MB, free: 7.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1333, allocations: 220.2 kB / 363.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.1334, allocations: 94.7 kB / 363.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.1335, allocations: 37.7 kB / 363.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1336, allocations: 338.8 kB / 363.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1339, allocations: 96.7 kB / 363.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1342, allocations: 232.2 kB / 364 MB, free: 6.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.1348, allocations: 331.1 kB / 364.3 MB, free: 6.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1348, allocations: 11.88 kB / 364.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008127/0.1356, allocations: 421.1 kB / 364.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1356, allocations: 4.5 kB / 364.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1356, allocations: 15.92 kB / 364.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.136, allocations: 84.84 kB / 364.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1363, allocations: 63.84 kB / 364.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.1384, allocations: 1.799 MB / 366.7 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.1387, allocations: 43.75 kB / 366.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.1387, allocations: 23.98 kB / 366.8 MB, free: 3.926 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.0002199/0.139, allocations: 170.1 kB / 366.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.139, allocations: 39.56 kB / 367 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.1391, allocations: 35.09 kB / 367 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1391, allocations: 8 kB / 367 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1391, allocations: 0 / 367 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1392, allocations: 7.984 kB / 367 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.1398, allocations: 0.5692 MB / 367.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1399, allocations: 0 / 367.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.14, allocations: 31.92 kB / 367.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.1403, allocations: 80.8 kB / 367.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1403, allocations: 4 kB / 367.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.1422, allocations: 1.804 MB / 369.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1422, allocations: 4.031 kB / 369.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.1432, allocations: 0.5035 MB / 370 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.1434, allocations: 128.7 kB / 370.1 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.1435, allocations: 8 kB / 370.1 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1436, allocations: 15.98 kB / 370.2 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.1437, allocations: 31.91 kB / 370.2 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1438, allocations: 15.98 kB / 370.2 MB, free: 232 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.144, allocations: 207.1 kB / 370.4 MB, free: 28 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 0 / 370.4 MB, free: 28 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.2003/0.3444, allocations: 108.5 kB / 370.5 MB, free: 24.45 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.00165/0.3461, allocations: 1.06 MB / 371.6 MB, free: 23.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009427/0.347, allocations: 433.9 kB / 372 MB, free: 23.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.347, allocations: 0.8125 kB / 372 MB, free: 23.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.3475, allocations: 283.2 kB / 372.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3479, allocations: 57.47 kB / 372.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.3528, allocations: 3.642 MB / 376 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3531, allocations: 0.8098 MB / 376.8 MB, free: 21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.3533, allocations: 35.23 kB / 376.8 MB, free: 21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3535, allocations: 124.2 kB / 376.9 MB, free: 20.99 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3535, allocations: 0 / 376.9 MB, free: 20.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3796, allocations: 7.522 MB / 384.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.3798, allocations: 287.7 kB / 384.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.4, allocations: 2.656 kB / 384.7 MB, free: 19.21 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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)