Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_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.001394/0.001394, allocations: 112.6 kB / 17.28 MB, free: 6.199 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.001681/0.001681, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 48.14 kB / 280.3 MB, free: 3.352 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 46.62 MB / 326.9 MB, free: 4.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005133/0.1113, allocations: 3.439 MB / 330.3 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1132, allocations: 0.8656 MB / 331.2 MB, free: 332 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.1136, allocations: 4 kB / 331.2 MB, free: 328 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.114, allocations: 47.62 kB / 331.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1144, allocations: 111.1 kB / 331.4 MB, free: 168 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1148, allocations: 115.9 kB / 331.5 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006809/0.1155, allocations: 0.5058 MB / 332 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.1158, allocations: 174.1 kB / 332.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.1161, allocations: 191.2 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.1164, allocations: 211 kB / 332.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.1165, allocations: 44 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.1165, allocations: 44 kB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.1167, allocations: 107.6 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1169, allocations: 226.9 kB / 333 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004738/0.1173, allocations: 0.5061 MB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1174, allocations: 0 / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1174, allocations: 3.938 kB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1174, allocations: 3.984 kB / 333.5 MB, free: 14.04 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001194/0.1186, allocations: 0.7184 MB / 334.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1186, allocations: 11.89 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/0.1187, allocations: 74.72 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.1188, allocations: 48.38 kB / 334.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.1192, allocations: 340.2 kB / 334.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1192, allocations: 29.38 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.1193, allocations: 44.27 kB / 334.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.12, allocations: 387.1 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.12, allocations: 4 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.12, allocations: 12 kB / 335.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.1201, allocations: 8 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.1206, allocations: 254.4 kB / 335.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1227, allocations: 1.479 MB / 336.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1232, allocations: 239.4 kB / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.1235, allocations: 165.2 kB / 337.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1236, allocations: 4.234 kB / 337.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.124, allocations: 233.9 kB / 337.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/0.124, allocations: 4 kB / 337.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.00151/0.1255, allocations: 0.577 MB / 338.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.1256, allocations: 110.8 kB / 338.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.126, allocations: 300.5 kB / 338.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.126, allocations: 33.7 kB / 338.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1262, allocations: 208.4 kB / 338.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.1263, allocations: 94.64 kB / 338.8 MB, free: 8.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1264, allocations: 77.97 kB / 338.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1265, allocations: 338.8 kB / 339.2 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.1268, allocations: 96.7 kB / 339.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.1271, allocations: 229.4 kB / 339.5 MB, free: 7.605 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.1276, allocations: 315.1 kB / 339.8 MB, free: 7.242 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.1276, allocations: 4 kB / 339.8 MB, free: 7.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007285/0.1283, allocations: 417.3 kB / 340.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1283, allocations: 8 kB / 340.2 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1284, allocations: 4 kB / 340.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.1287, allocations: 85.28 kB / 340.3 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.1289, allocations: 63.78 kB / 340.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.1311, allocations: 2.002 MB / 342.4 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.1313, allocations: 39.69 kB / 342.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1314, allocations: 16 kB / 342.4 MB, free: 4.457 MB / 286.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002219/0.1316, allocations: 182.6 kB / 342.6 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.1317, allocations: 31.62 kB / 342.7 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.58e-05/0.1318, allocations: 35.09 kB / 342.7 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.1318, allocations: 8.062 kB / 342.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1318, allocations: 0 / 342.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1318, allocations: 3.984 kB / 342.7 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.1324, allocations: 0.5615 MB / 343.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1325, allocations: 0 / 343.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1326, allocations: 31.92 kB / 343.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.1329, allocations: 76.84 kB / 343.4 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1329, allocations: 11.98 kB / 343.4 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.1348, allocations: 1.99 MB / 345.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1348, allocations: 4.062 kB / 345.4 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.1357, allocations: 494.6 kB / 345.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1358, allocations: 136.7 kB / 346 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.1359, allocations: 16.03 kB / 346 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1361, allocations: 19.98 kB / 346 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.1362, allocations: 27.95 kB / 346.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1362, allocations: 11.98 kB / 346.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1364, allocations: 207.1 kB / 346.3 MB, free: 396 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 346.3 MB, free: 396 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004814/0.1369, allocations: 115.7 kB / 346.4 MB, free: 280 kB / 286.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001266/0.1382, allocations: 1.048 MB / 347.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008136/0.139, allocations: 426.8 kB / 347.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.139, allocations: 0 / 347.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.1394, allocations: 291.5 kB / 348.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1398, allocations: 64.38 kB / 348.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.1446, allocations: 3.574 MB / 351.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.1451, allocations: 0.8029 MB / 352.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.1453, allocations: 39.14 kB / 352.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1455, allocations: 119.4 kB / 352.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1455, allocations: 0 / 352.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.1732, allocations: 7.931 MB / 360.7 MB, free: 1.688 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/0.1734, allocations: 286.1 kB / 360.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.119, allocations: 0 / 360.9 MB, free: 1.309 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)