Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_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.001248/0.001248, allocations: 104.5 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.001272/0.001272, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.547/1.547, allocations: 227.7 MB / 247.1 MB, free: 10.27 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 72.28 kB / 307.4 MB, free: 348 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09859, allocations: 50.53 MB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005546/0.1042, allocations: 3.482 MB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1063, allocations: 0.9269 MB / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.1066, allocations: 11.94 kB / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1068, allocations: 67.3 kB / 362.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1072, allocations: 134.8 kB / 362.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.1077, allocations: 147.8 kB / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.1084, allocations: 0.5214 MB / 363.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.1088, allocations: 178 kB / 363.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.1093, allocations: 207.2 kB / 363.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.1096, allocations: 219 kB / 363.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.1097, allocations: 44 kB / 363.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1098, allocations: 52 kB / 363.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1099, allocations: 115.5 kB / 364 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1102, allocations: 234.8 kB / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.1107, allocations: 0.5255 MB / 364.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1108, allocations: 0 / 364.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1108, allocations: 4 kB / 364.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1108, allocations: 3.938 kB / 364.7 MB, free: 6.902 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.001389/0.1122, allocations: 0.744 MB / 365.5 MB, free: 6.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1122, allocations: 8.031 kB / 365.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.927e-05/0.1123, allocations: 70.72 kB / 365.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.1126, allocations: 72.34 kB / 365.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.1131, allocations: 352.1 kB / 366 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.1132, allocations: 33.31 kB / 366 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.1132, allocations: 40.38 kB / 366 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.1139, allocations: 391.8 kB / 366.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.114, allocations: 4 kB / 366.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.114, allocations: 11.98 kB / 366.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.114, allocations: 12 kB / 366.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.1146, allocations: 263.8 kB / 366.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.1168, allocations: 1.511 MB / 368.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.1173, allocations: 241 kB / 368.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.1176, allocations: 169.2 kB / 368.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1177, allocations: 4.234 kB / 368.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.1181, allocations: 230 kB / 368.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.1181, allocations: 0 / 368.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001571/0.1197, allocations: 0.5895 MB / 369.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.1198, allocations: 110.8 kB / 369.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.1202, allocations: 312.5 kB / 369.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1202, allocations: 33.7 kB / 369.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1204, allocations: 216.4 kB / 370.1 MB, free: 1.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.1205, allocations: 106.5 kB / 370.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1206, allocations: 70.06 kB / 370.3 MB, free: 1.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1208, allocations: 346.8 kB / 370.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.121, allocations: 96.7 kB / 370.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.1213, allocations: 217.7 kB / 370.9 MB, free: 348 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1469/0.2682, allocations: 327.3 kB / 371.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.2683, allocations: 4.438 kB / 371.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009621/0.2692, allocations: 406.5 kB / 371.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2693, allocations: 7.359 kB / 371.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2693, allocations: 4.188 kB / 371.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.2697, allocations: 88.17 kB / 371.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.2699, allocations: 58.23 kB / 371.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.2717, allocations: 2.003 MB / 373.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.2721, allocations: 38 kB / 373.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.2722, allocations: 17.95 kB / 373.8 MB, free: 18.17 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.0002591/0.2724, allocations: 169.4 kB / 374 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.2725, allocations: 38.23 kB / 374 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.2726, allocations: 39.31 kB / 374.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2726, allocations: 3.812 kB / 374.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2726, allocations: 1.406 kB / 374.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2726, allocations: 5.766 kB / 374.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.2733, allocations: 0.5712 MB / 374.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2733, allocations: 0.625 kB / 374.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2735, allocations: 32.05 kB / 374.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.2738, allocations: 82.86 kB / 374.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.2738, allocations: 14.67 kB / 374.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.2753, allocations: 1.982 MB / 376.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2753, allocations: 6.344 kB / 376.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.2762, allocations: 0.4949 MB / 377.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.2763, allocations: 133.5 kB / 377.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.2763, allocations: 7.781 kB / 377.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2765, allocations: 15.39 kB / 377.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.2766, allocations: 32 kB / 377.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.2766, allocations: 17.34 kB / 377.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.2768, allocations: 217.8 kB / 377.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2768, allocations: 0 / 377.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005221/0.2774, allocations: 117.7 kB / 377.8 MB, free: 15.43 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.00104/0.2784, allocations: 1.052 MB / 378.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007724/0.2792, allocations: 427 kB / 379.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2792, allocations: 1.375 kB / 379.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.2796, allocations: 276.4 kB / 379.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2799, allocations: 65.7 kB / 379.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.2837, allocations: 3.528 MB / 383.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.284, allocations: 0.813 MB / 383.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.2841, allocations: 35.44 kB / 384 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2843, allocations: 130.5 kB / 384.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2843, allocations: 4 kB / 384.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.3204, allocations: 8.328 MB / 392.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.9, allocations: 13.53 kB / 392.5 MB, free: 8.75 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)