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.001188/0.001188, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.7 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07996/0.08117, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004462/0.08567, allocations: 3.483 MB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.08737, allocations: 0.9269 MB / 362 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.08766, allocations: 8 kB / 362 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.08791, allocations: 67.3 kB / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.0883, allocations: 130.8 kB / 362.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.0887, allocations: 159.7 kB / 362.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.08926, allocations: 0.5136 MB / 362.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.0896, allocations: 178 kB / 363.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.08994, allocations: 211.2 kB / 363.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.09025, allocations: 219 kB / 363.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.09034, allocations: 44 kB / 363.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.09047, allocations: 59.98 kB / 363.6 MB, free: 8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.09057, allocations: 107.6 kB / 363.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.09081, allocations: 238.8 kB / 363.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.09133, allocations: 0.5177 MB / 364.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09135, allocations: 7.938 kB / 364.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09135, allocations: 0 / 364.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.09137, allocations: 0 / 364.4 MB, free: 7.133 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.001244/0.09262, allocations: 0.7417 MB / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.09266, allocations: 12.03 kB / 365.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.054e-05/0.09275, allocations: 70.72 kB / 365.3 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.09303, allocations: 72.28 kB / 365.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.09345, allocations: 348.2 kB / 365.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.09349, allocations: 25.38 kB / 365.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.09355, allocations: 44.38 kB / 365.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.0942, allocations: 395.8 kB / 366.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.09423, allocations: 4 kB / 366.1 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.09427, allocations: 12 kB / 366.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.09428, allocations: 8 kB / 366.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.0948, allocations: 271.8 kB / 366.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.09691, allocations: 1.508 MB / 367.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.09736, allocations: 248.9 kB / 368.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.09775, allocations: 165.2 kB / 368.3 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.0978, allocations: 4.234 kB / 368.3 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.09821, allocations: 234 kB / 368.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.09822, allocations: 0 / 368.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001509/0.09974, allocations: 0.5895 MB / 369.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.09982, allocations: 114.8 kB / 369.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.1001, allocations: 304.5 kB / 369.6 MB, free: 1.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.1002, allocations: 37.64 kB / 369.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1003, allocations: 220.4 kB / 369.8 MB, free: 1.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.1004, allocations: 102.5 kB / 369.9 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1005, allocations: 70.08 kB / 370 MB, free: 1.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1007, allocations: 346.8 kB / 370.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1009, allocations: 92.7 kB / 370.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.1011, allocations: 213.8 kB / 370.6 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.1016, allocations: 330.3 kB / 370.9 MB, free: 200 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.1016, allocations: 3.938 kB / 370.9 MB, free: 196 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1407/0.2424, allocations: 414.8 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.2424, allocations: 7.438 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2424, allocations: 5.531 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.2428, allocations: 80.81 kB / 371.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.243, allocations: 58.19 kB / 371.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.2447, allocations: 1.997 MB / 373.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.245, allocations: 36.91 kB / 373.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.245, allocations: 21.48 kB / 373.6 MB, free: 18.38 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.0002252/0.2453, allocations: 167.2 kB / 373.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.2453, allocations: 42.97 kB / 373.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.2454, allocations: 38.25 kB / 373.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2454, allocations: 3.656 kB / 373.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2454, allocations: 4.156 kB / 373.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.2455, allocations: 3.469 kB / 373.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.2461, allocations: 0.5707 MB / 374.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.2461, allocations: 1.5 kB / 374.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.2463, allocations: 36.12 kB / 374.4 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.2465, allocations: 85.16 kB / 374.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2466, allocations: 7.953 kB / 374.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.2481, allocations: 1.988 MB / 376.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2481, allocations: 4.969 kB / 376.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.249, allocations: 0.4905 MB / 377 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2491, allocations: 140.6 kB / 377.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.2491, allocations: 16.36 kB / 377.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2493, allocations: 13.83 kB / 377.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.2494, allocations: 24.5 kB / 377.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.2495, allocations: 10.19 kB / 377.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.2497, allocations: 217.3 kB / 377.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2497, allocations: 0 / 377.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004776/0.2502, allocations: 119 kB / 377.5 MB, free: 15.7 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.001023/0.2512, allocations: 1.057 MB / 378.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000743/0.252, allocations: 420.3 kB / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.252, allocations: 0 / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.2523, allocations: 281.9 kB / 379.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.2527, allocations: 67.88 kB / 379.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2565, allocations: 3.528 MB / 382.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.2567, allocations: 0.8146 MB / 383.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2569, allocations: 33.48 kB / 383.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.257, allocations: 126 kB / 383.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.257, allocations: 0.5469 kB / 383.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.2847, allocations: 8.315 MB / 392.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 8.25 kB / 392.1 MB, free: 9.043 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)