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.001484/0.001484, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.00213, allocations: 62.73 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005402/0.1104, allocations: 3.473 MB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1122, allocations: 0.9308 MB / 362 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.1126, allocations: 11.94 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1129, allocations: 67.3 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.1134, allocations: 134.8 kB / 362.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.114, allocations: 155.7 kB / 362.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.1147, allocations: 0.5136 MB / 362.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.115, allocations: 182 kB / 363.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.1154, allocations: 211.2 kB / 363.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.1157, allocations: 219 kB / 363.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-05/0.1158, allocations: 44 kB / 363.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1159, allocations: 59.94 kB / 363.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1161, allocations: 107.6 kB / 363.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.1163, allocations: 230.8 kB / 363.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.1169, allocations: 0.5294 MB / 364.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1169, allocations: 0 / 364.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1169, allocations: 0 / 364.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.117, allocations: 3.938 kB / 364.4 MB, free: 7.094 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.001419/0.1184, allocations: 0.7378 MB / 365.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1184, allocations: 16.02 kB / 365.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.449e-05/0.1185, allocations: 70.72 kB / 365.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.1188, allocations: 64.36 kB / 365.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.1193, allocations: 356.1 kB / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.1193, allocations: 29.36 kB / 365.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.1194, allocations: 44.38 kB / 365.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.12, allocations: 387.8 kB / 366.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1201, allocations: 4 kB / 366.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.1201, allocations: 19.92 kB / 366.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1201, allocations: 8 kB / 366.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.1207, allocations: 263.9 kB / 366.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.1229, allocations: 1.507 MB / 367.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.1234, allocations: 241 kB / 368.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.1238, allocations: 165.2 kB / 368.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1238, allocations: 8.172 kB / 368.3 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.1242, allocations: 226 kB / 368.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.1243, allocations: 4 kB / 368.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001596/0.1259, allocations: 0.5856 MB / 369.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.1259, allocations: 110.8 kB / 369.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.1263, allocations: 308.5 kB / 369.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.1264, allocations: 41.62 kB / 369.6 MB, free: 1.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1265, allocations: 220.4 kB / 369.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.1266, allocations: 102.5 kB / 369.9 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1267, allocations: 74.06 kB / 370 MB, free: 1.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1269, allocations: 346.8 kB / 370.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1271, allocations: 88.72 kB / 370.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1274, allocations: 225.7 kB / 370.6 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.1279, allocations: 327 kB / 370.9 MB, free: 160 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.1279, allocations: 7.938 kB / 370.9 MB, free: 152 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1497/0.2776, allocations: 403.5 kB / 371.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.2776, allocations: 12.59 kB / 371.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2777, allocations: 4.25 kB / 371.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.278, allocations: 84.08 kB / 371.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.2783, allocations: 60.05 kB / 371.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.2801, allocations: 1.999 MB / 373.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.2804, allocations: 33.78 kB / 373.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.2804, allocations: 20.38 kB / 373.5 MB, free: 18.45 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.0001907/0.2806, allocations: 168.9 kB / 373.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.2807, allocations: 41.98 kB / 373.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.2808, allocations: 35.59 kB / 373.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2808, allocations: 8.234 kB / 373.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2808, allocations: 1.656 kB / 373.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2808, allocations: 2.906 kB / 373.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.2814, allocations: 0.5718 MB / 374.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2814, allocations: 0 / 374.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.2816, allocations: 32.28 kB / 374.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.2819, allocations: 82.45 kB / 374.5 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.2819, allocations: 15.11 kB / 374.5 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.2835, allocations: 1.987 MB / 376.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2835, allocations: 5.094 kB / 376.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009524/0.2844, allocations: 0.4987 MB / 377 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.2846, allocations: 137.7 kB / 377.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.2846, allocations: 7.812 kB / 377.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.2848, allocations: 13.81 kB / 377.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.2849, allocations: 29.2 kB / 377.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2849, allocations: 9.047 kB / 377.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.2852, allocations: 217.1 kB / 377.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2852, allocations: 4.562 kB / 377.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005258/0.2857, allocations: 113.6 kB / 377.5 MB, free: 15.77 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.001078/0.2868, allocations: 1.061 MB / 378.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007842/0.2876, allocations: 425.5 kB / 379 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2876, allocations: 0 / 379 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.288, allocations: 278.4 kB / 379.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.2884, allocations: 59.44 kB / 379.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.2928, allocations: 3.545 MB / 382.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.293, allocations: 0.8067 MB / 383.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.2932, allocations: 34.3 kB / 383.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.2934, allocations: 125.9 kB / 383.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2934, allocations: 4 kB / 383.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.3264, allocations: 8.315 MB / 392.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 16.28 kB / 392.2 MB, free: 9.094 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)