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.001128/0.001128, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 201.2 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.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2531, allocations: 50.55 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004663/0.2578, allocations: 3.486 MB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2595, allocations: 0.923 MB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.2597, allocations: 8 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.2599, allocations: 67.3 kB / 413.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.2603, allocations: 126.8 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.2606, allocations: 159.7 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.2612, allocations: 0.5214 MB / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.2615, allocations: 175.5 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.2618, allocations: 211.1 kB / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.2621, allocations: 211 kB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.2621, allocations: 52 kB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.2622, allocations: 55.98 kB / 414.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.2623, allocations: 107.6 kB / 414.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2625, allocations: 234.8 kB / 415.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.2631, allocations: 0.5372 MB / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2631, allocations: 0 / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2631, allocations: 0 / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2631, allocations: 4 kB / 415.6 MB, free: 10.67 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.001178/0.2643, allocations: 0.7378 MB / 416.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2643, allocations: 8.031 kB / 416.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.54e-05/0.2644, allocations: 70.72 kB / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.2647, allocations: 76.25 kB / 416.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.2651, allocations: 352.3 kB / 416.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.2652, allocations: 33.31 kB / 416.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.2652, allocations: 36.38 kB / 416.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.2659, allocations: 395.8 kB / 417.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2659, allocations: 3.984 kB / 417.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.266, allocations: 19.98 kB / 417.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.266, allocations: 8 kB / 417.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.2665, allocations: 267.8 kB / 417.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2684, allocations: 1.492 MB / 419.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.2688, allocations: 249.6 kB / 419.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.2692, allocations: 169.2 kB / 419.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.2692, allocations: 4.234 kB / 419.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.2696, allocations: 230 kB / 419.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.2696, allocations: 0 / 419.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001416/0.271, allocations: 0.5926 MB / 420.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.2711, allocations: 110.8 kB / 420.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.2714, allocations: 312.5 kB / 420.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.2715, allocations: 33.7 kB / 420.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.2716, allocations: 220.3 kB / 421 MB, free: 4.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.2717, allocations: 94.64 kB / 421.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2718, allocations: 77.97 kB / 421.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2719, allocations: 342.8 kB / 421.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2721, allocations: 92.72 kB / 421.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.2724, allocations: 225.7 kB / 421.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.2728, allocations: 323.1 kB / 422.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2729, allocations: 11.94 kB / 422.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006827/0.2735, allocations: 407.1 kB / 422.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2736, allocations: 10.81 kB / 422.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2736, allocations: 4 kB / 422.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/0.2739, allocations: 81.22 kB / 422.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2741, allocations: 63.84 kB / 422.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.276, allocations: 1.998 MB / 424.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.2762, allocations: 31.75 kB / 424.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2763, allocations: 15.98 kB / 424.7 MB, free: 0.9766 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.0001859/0.2765, allocations: 181.6 kB / 424.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.2765, allocations: 35.62 kB / 424.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.2766, allocations: 35.95 kB / 425 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2766, allocations: 4 kB / 425 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2766, allocations: 4 kB / 425 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2766, allocations: 7.969 kB / 425 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.2772, allocations: 0.5809 MB / 425.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2772, allocations: 0 / 425.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.2774, allocations: 39.95 kB / 425.6 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.2776, allocations: 72.89 kB / 425.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2777, allocations: 11.98 kB / 425.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.2793, allocations: 1.991 MB / 427.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2793, allocations: 4.031 kB / 427.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.2802, allocations: 0.4909 MB / 428.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2803, allocations: 144.5 kB / 428.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.2803, allocations: 8 kB / 428.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2805, allocations: 15.98 kB / 428.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.2806, allocations: 23.97 kB / 428.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2806, allocations: 15.98 kB / 428.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2808, allocations: 219.1 kB / 428.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2808, allocations: 0 / 428.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004628/0.2813, allocations: 111.7 kB / 428.7 MB, free: 12.74 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.001116/0.2824, allocations: 1.052 MB / 429.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.2831, allocations: 410.4 kB / 430.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2831, allocations: 4 kB / 430.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.2835, allocations: 283.4 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.0003422/0.2839, allocations: 68.33 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.004216/0.2881, allocations: 3.483 MB / 434 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2884, allocations: 0.8035 MB / 434.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.2886, allocations: 34.97 kB / 434.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2887, allocations: 127.4 kB / 435 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2887, allocations: 0 / 435 MB, free: 6.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.3191, allocations: 8.661 MB / 443.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.81, allocations: 9 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)