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.00157/0.00157, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001888/0.001888, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.398/1.398, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 42.86 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08363, allocations: 49.45 MB / 350.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004147/0.08781, allocations: 3.44 MB / 353.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.08918, allocations: 0.8453 MB / 354.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.08943, allocations: 11.84 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.08963, allocations: 59.38 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.08995, allocations: 130.8 kB / 354.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.09026, allocations: 139.8 kB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.09072, allocations: 0.5173 MB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.091, allocations: 174.1 kB / 355.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.09124, allocations: 195.3 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.09149, allocations: 219 kB / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.09157, allocations: 44 kB / 355.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.09164, allocations: 44 kB / 356 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.09173, allocations: 107.6 kB / 356.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.09192, allocations: 226.8 kB / 356.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.09234, allocations: 0.5177 MB / 356.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09235, allocations: 0 / 356.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09235, allocations: 0 / 356.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.09237, allocations: 4 kB / 356.8 MB, free: 13.6 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.001104/0.09348, allocations: 0.7223 MB / 357.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.09353, allocations: 11.89 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.09361, allocations: 74.72 kB / 357.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.0937, allocations: 56.38 kB / 357.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.09404, allocations: 332.3 kB / 358 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.09407, allocations: 29.38 kB / 358 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.09414, allocations: 48.3 kB / 358.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.09471, allocations: 383.8 kB / 358.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.09473, allocations: 8 kB / 358.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.09477, allocations: 16 kB / 358.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.09479, allocations: 12 kB / 358.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.09525, allocations: 263.8 kB / 358.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.09704, allocations: 1.488 MB / 360.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.09742, allocations: 251.2 kB / 360.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.09775, allocations: 169.2 kB / 360.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.09778, allocations: 4.234 kB / 360.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.09812, allocations: 238 kB / 360.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 4.679e-06/0.09814, allocations: 3.984 kB / 360.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001342/0.09948, allocations: 0.5814 MB / 361.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.09955, allocations: 118.8 kB / 361.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.09981, allocations: 296.5 kB / 361.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.09985, allocations: 33.7 kB / 361.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.09997, allocations: 220.3 kB / 362.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.1, allocations: 94.62 kB / 362.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.1001, allocations: 70.06 kB / 362.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1002, allocations: 334.8 kB / 362.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1004, allocations: 92.7 kB / 362.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1007, allocations: 225.5 kB / 362.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.1011, allocations: 334.7 kB / 363.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1011, allocations: 3.938 kB / 363.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006363/0.1018, allocations: 410 kB / 363.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1018, allocations: 8 kB / 363.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1018, allocations: 4 kB / 363.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.1021, allocations: 76.81 kB / 363.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1023, allocations: 63.84 kB / 363.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.1039, allocations: 2.002 MB / 365.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1041, allocations: 31.69 kB / 365.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1042, allocations: 16 kB / 365.9 MB, free: 3.973 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.0001505/0.1043, allocations: 181.6 kB / 366 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.1044, allocations: 31.62 kB / 366.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.1045, allocations: 39.09 kB / 366.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1045, allocations: 4 kB / 366.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1045, allocations: 0 / 366.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1045, allocations: 0 / 366.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.105, allocations: 0.5732 MB / 366.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.105, allocations: 4.031 kB / 366.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1052, allocations: 35.97 kB / 366.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.1054, allocations: 80.78 kB / 366.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1054, allocations: 8 kB / 366.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.107, allocations: 1.986 MB / 368.8 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.107, allocations: 4.031 kB / 368.8 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.1078, allocations: 0.491 MB / 369.3 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1079, allocations: 136.6 kB / 369.4 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.108, allocations: 4 kB / 369.4 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1081, allocations: 15.98 kB / 369.4 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.1082, allocations: 32.14 kB / 369.5 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1082, allocations: 12 kB / 369.5 MB, free: 88 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1503/0.2585, allocations: 209 kB / 369.7 MB, free: 25.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.2586, allocations: 0 / 369.7 MB, free: 25.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008451/0.2594, allocations: 111.5 kB / 369.8 MB, free: 25.31 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.00159/0.2611, allocations: 1.061 MB / 370.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2622, allocations: 418.8 kB / 371.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2622, allocations: 0.75 kB / 371.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.2628, allocations: 284.2 kB / 371.5 MB, free: 24.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.2633, allocations: 58.7 kB / 371.6 MB, free: 24.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.2689, allocations: 3.445 MB / 375 MB, free: 22.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2692, allocations: 0.8021 MB / 375.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.2694, allocations: 37.42 kB / 375.9 MB, free: 21.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.2696, allocations: 125.2 kB / 376 MB, free: 21.74 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2696, allocations: 0 / 376 MB, free: 21.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.3026, allocations: 8.088 MB / 384.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.53, allocations: 8.812 kB / 384.1 MB, free: 19.95 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)