Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001123/0.001123, allocations: 116.8 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 64.33 kB / 306.6 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08466, allocations: 50.54 MB / 357.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004396/0.08909, allocations: 3.517 MB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.0905, allocations: 0.9114 MB / 361.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.09067, allocations: 8 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.09087, allocations: 47.56 kB / 361.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.09117, allocations: 115.2 kB / 361.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.09148, allocations: 131.8 kB / 361.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.09194, allocations: 0.5214 MB / 362.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.09222, allocations: 178 kB / 362.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.09247, allocations: 207.2 kB / 362.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.09271, allocations: 215 kB / 362.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.09277, allocations: 48 kB / 363 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.09287, allocations: 52 kB / 363 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.09297, allocations: 111.5 kB / 363.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.09316, allocations: 238.8 kB / 363.4 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.09362, allocations: 0.5217 MB / 363.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.09363, allocations: 7.938 kB / 363.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09364, allocations: 3.938 kB / 363.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.09365, allocations: 0 / 363.9 MB, free: 7.422 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.001143/0.0948, allocations: 0.7378 MB / 364.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09484, allocations: 12.03 kB / 364.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.458e-05/0.09492, allocations: 74.72 kB / 364.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.09518, allocations: 68.34 kB / 364.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.09556, allocations: 348.2 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.09559, allocations: 25.38 kB / 365.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.09566, allocations: 44.38 kB / 365.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.09629, allocations: 391.8 kB / 365.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.09632, allocations: 8 kB / 365.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.09636, allocations: 12 kB / 365.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.09638, allocations: 8 kB / 365.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.09687, allocations: 267.8 kB / 365.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.09878, allocations: 1.5 MB / 367.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.0992, allocations: 263.2 kB / 367.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.09954, allocations: 169 kB / 367.8 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.09958, allocations: 4.234 kB / 367.8 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.09997, allocations: 222.1 kB / 368 MB, free: 3.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.09998, allocations: 0 / 368 MB, free: 3.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00148/0.1015, allocations: 0.5849 MB / 368.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.1015, allocations: 110.8 kB / 368.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.1019, allocations: 312.4 kB / 369 MB, free: 2.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1019, allocations: 33.7 kB / 369.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1021, allocations: 224.3 kB / 369.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.1021, allocations: 102.5 kB / 369.4 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1022, allocations: 74.06 kB / 369.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1024, allocations: 342.8 kB / 369.8 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1026, allocations: 92.7 kB / 369.9 MB, free: 1.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.1028, allocations: 213.8 kB / 370.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.1033, allocations: 328.5 kB / 370.4 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.1033, allocations: 7.938 kB / 370.4 MB, free: 500 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000666/0.104, allocations: 425.5 kB / 370.8 MB, free: 64 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.104, allocations: 4 kB / 370.8 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.104, allocations: 4.5 kB / 370.8 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1665/0.2705, allocations: 80.55 kB / 370.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.2709, allocations: 58.09 kB / 371 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.2732, allocations: 2.001 MB / 373 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2736, allocations: 36.27 kB / 373 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.2736, allocations: 16.33 kB / 373 MB, free: 18.55 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.0002456/0.2739, allocations: 174.7 kB / 373.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.274, allocations: 38.53 kB / 373.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.2741, allocations: 38.36 kB / 373.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2741, allocations: 2.688 kB / 373.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2741, allocations: 2.875 kB / 373.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2741, allocations: 1.734 kB / 373.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.2749, allocations: 0.5723 MB / 373.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2749, allocations: 0.8438 kB / 373.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2752, allocations: 28.52 kB / 373.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.2755, allocations: 83.55 kB / 374 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.2755, allocations: 8.547 kB / 374 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.2776, allocations: 1.991 MB / 376 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2776, allocations: 2.266 kB / 376 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.2789, allocations: 0.4991 MB / 376.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.279, allocations: 142.4 kB / 376.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.2791, allocations: 9.672 kB / 376.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2794, allocations: 22.84 kB / 376.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2795, allocations: 24.53 kB / 376.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.2795, allocations: 12.47 kB / 376.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.2799, allocations: 218 kB / 376.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2799, allocations: 0 / 376.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008649/0.2807, allocations: 116.2 kB / 377 MB, free: 15.93 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.001429/0.2822, allocations: 1.057 MB / 378 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.2832, allocations: 422.7 kB / 378.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2832, allocations: 1.812 kB / 378.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.2837, allocations: 285.4 kB / 378.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.2843, allocations: 60.69 kB / 378.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.2889, allocations: 3.678 MB / 382.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2891, allocations: 0.8072 MB / 383.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.2893, allocations: 39.08 kB / 383.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2894, allocations: 127.3 kB / 383.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2894, allocations: 0 / 383.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.3122, allocations: 8.141 MB / 391.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.3124, allocations: 297.8 kB / 391.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.319, allocations: 0 / 391.9 MB, free: 8.953 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)