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.001144/0.001144, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001423, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 50.54 MB / 408.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004876/0.3027, allocations: 3.49 MB / 412.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3044, allocations: 0.923 MB / 413.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.3046, allocations: 7.938 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.3049, allocations: 75.3 kB / 413.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.3053, allocations: 118.8 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3057, allocations: 159.7 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.3063, allocations: 0.5253 MB / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.3066, allocations: 171.5 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3069, allocations: 207.2 kB / 414.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.3071, allocations: 223 kB / 414.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.3072, allocations: 44 kB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.321e-05/0.3073, allocations: 55.94 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.3074, allocations: 107.7 kB / 414.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3076, allocations: 234.8 kB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.3081, allocations: 0.541 MB / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3081, allocations: 0 / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3081, allocations: 0 / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3082, allocations: 0 / 415.6 MB, free: 10.68 MB / 334.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.001225/0.3094, allocations: 0.7417 MB / 416.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3094, allocations: 8.031 kB / 416.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.966e-05/0.3095, allocations: 70.72 kB / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.3098, allocations: 72.25 kB / 416.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.3102, allocations: 356.3 kB / 416.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3103, allocations: 29.38 kB / 416.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.3103, allocations: 40.36 kB / 416.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.311, allocations: 403.7 kB / 417.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.311, allocations: 0 / 417.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.311, allocations: 12 kB / 417.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3111, allocations: 8 kB / 417.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.3116, allocations: 271.7 kB / 417.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.3136, allocations: 1.496 MB / 419.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.314, allocations: 239.4 kB / 419.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.3144, allocations: 173.2 kB / 419.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.3144, allocations: 4.234 kB / 419.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.3149, allocations: 222 kB / 419.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.764e-06/0.3149, allocations: 0 / 419.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001545/0.3165, allocations: 0.5887 MB / 420.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.3166, allocations: 114.8 kB / 420.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.3169, allocations: 312.5 kB / 420.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.317, allocations: 29.7 kB / 420.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3171, allocations: 232.3 kB / 421 MB, free: 4.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.3172, allocations: 90.66 kB / 421.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3174, allocations: 73.97 kB / 421.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3175, allocations: 342.8 kB / 421.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3177, allocations: 92.7 kB / 421.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.318, allocations: 217.8 kB / 421.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.3185, allocations: 334.1 kB / 422.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3185, allocations: 3.938 kB / 422.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007233/0.3192, allocations: 413.5 kB / 422.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3193, allocations: 8 kB / 422.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3193, allocations: 4 kB / 422.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.3196, allocations: 89.31 kB / 422.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3198, allocations: 55.91 kB / 422.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.3219, allocations: 2.002 MB / 424.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.3222, allocations: 35.75 kB / 424.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3223, allocations: 12 kB / 424.7 MB, free: 0.9805 MB / 334.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.0002558/0.3225, allocations: 185 kB / 424.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.3226, allocations: 35.62 kB / 424.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.3227, allocations: 39.89 kB / 425 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3227, allocations: 4 kB / 425 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3227, allocations: 0 / 425 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3227, allocations: 3.938 kB / 425 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.3234, allocations: 0.5809 MB / 425.6 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3234, allocations: 8.031 kB / 425.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3236, allocations: 35.91 kB / 425.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/0.3239, allocations: 76.81 kB / 425.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.3239, allocations: 4 kB / 425.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.3257, allocations: 1.987 MB / 427.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3257, allocations: 4.062 kB / 427.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.3266, allocations: 0.4987 MB / 428.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3267, allocations: 140.6 kB / 428.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3268, allocations: 8 kB / 428.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.327, allocations: 23.97 kB / 428.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.327, allocations: 23.97 kB / 428.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3271, allocations: 12 kB / 428.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.3273, allocations: 215.1 kB / 428.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3273, allocations: 0 / 428.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.3278, allocations: 115.7 kB / 428.7 MB, free: 12.75 MB / 350.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.001148/0.3289, allocations: 1.049 MB / 429.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007344/0.3297, allocations: 414.3 kB / 430.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3297, allocations: 0 / 430.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.3301, allocations: 283.5 kB / 430.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3305, allocations: 68.19 kB / 430.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.3347, allocations: 3.482 MB / 434 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3351, allocations: 0.8074 MB / 434.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.3352, allocations: 39.14 kB / 434.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3354, allocations: 131.4 kB / 435 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3354, allocations: 0 / 435 MB, free: 6.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.3783, allocations: 8.652 MB / 443.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 4.938 kB / 443.6 MB, free: 13.82 MB / 366.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)