Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 97.19 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 48.34 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/0.08074, allocations: 46.64 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004388/0.08517, allocations: 3.398 MB / 330.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.0866, allocations: 0.8694 MB / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.08684, allocations: 8 kB / 331.7 MB, free: 52 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.08708, allocations: 63.41 kB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.08742, allocations: 122.9 kB / 331.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.08773, allocations: 139.7 kB / 332 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.08825, allocations: 0.5018 MB / 332.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.08854, allocations: 178 kB / 332.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.08879, allocations: 195.2 kB / 332.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.08908, allocations: 218.9 kB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.08916, allocations: 44 kB / 333.1 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.08924, allocations: 48 kB / 333.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.08934, allocations: 99.61 kB / 333.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.08956, allocations: 226.9 kB / 333.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.09001, allocations: 0.5138 MB / 334 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.09002, allocations: 0 / 334 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09003, allocations: 0 / 334 MB, free: 13.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.09004, allocations: 0 / 334 MB, free: 13.71 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001167/0.09121, allocations: 0.7106 MB / 334.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.09126, allocations: 11.89 kB / 334.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.09134, allocations: 74.72 kB / 334.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.09144, allocations: 48.38 kB / 334.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.09184, allocations: 340.2 kB / 335.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.09188, allocations: 33.36 kB / 335.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.09195, allocations: 44.27 kB / 335.2 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.09257, allocations: 387.1 kB / 335.6 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.09259, allocations: 4 kB / 335.6 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.09263, allocations: 12 kB / 335.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.09265, allocations: 12 kB / 335.7 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.09315, allocations: 254.4 kB / 335.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.09507, allocations: 1.479 MB / 337.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.09548, allocations: 231.4 kB / 337.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.09585, allocations: 169.2 kB / 337.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.09589, allocations: 4.234 kB / 337.8 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.09626, allocations: 238 kB / 338 MB, free: 9.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.09627, allocations: 0 / 338 MB, free: 9.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001477/0.09776, allocations: 0.5809 MB / 338.6 MB, free: 8.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.09784, allocations: 106.8 kB / 338.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.09814, allocations: 300.5 kB / 339 MB, free: 8.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.09817, allocations: 33.7 kB / 339 MB, free: 8.383 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.09831, allocations: 208.4 kB / 339.2 MB, free: 8.176 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.09839, allocations: 94.64 kB / 339.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.09851, allocations: 82 kB / 339.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.09865, allocations: 342.8 kB / 339.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.09885, allocations: 92.66 kB / 339.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.09913, allocations: 225.5 kB / 340 MB, free: 7.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.0996, allocations: 323.1 kB / 340.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.09962, allocations: 7.938 kB / 340.4 MB, free: 6.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007127/0.1003, allocations: 405.5 kB / 340.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1004, allocations: 8.5 kB / 340.8 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1004, allocations: 8 kB / 340.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.1007, allocations: 84.75 kB / 340.9 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.1009, allocations: 55.91 kB / 340.9 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.1028, allocations: 2.01 MB / 342.9 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.103, allocations: 35.69 kB / 343 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.103, allocations: 19.98 kB / 343 MB, free: 4.129 MB / 286.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001707/0.1032, allocations: 169.8 kB / 343.1 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.1033, allocations: 31.62 kB / 343.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.1033, allocations: 39.09 kB / 343.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1033, allocations: 0 / 343.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1034, allocations: 4 kB / 343.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1034, allocations: 3.984 kB / 343.2 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.1039, allocations: 0.5653 MB / 343.8 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.104, allocations: 0 / 343.8 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1041, allocations: 28.02 kB / 343.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.1044, allocations: 84.92 kB / 343.9 MB, free: 3.141 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1044, allocations: 11.94 kB / 343.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.1061, allocations: 1.983 MB / 345.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1062, allocations: 0 / 345.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008441/0.107, allocations: 0.4909 MB / 346.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1071, allocations: 140.7 kB / 346.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.1072, allocations: 7.938 kB / 346.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1074, allocations: 15.98 kB / 346.5 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.1075, allocations: 31.89 kB / 346.6 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1075, allocations: 8 kB / 346.6 MB, free: 280 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1077, allocations: 207.1 kB / 346.8 MB, free: 76 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1077, allocations: 4 kB / 346.8 MB, free: 72 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.1082, allocations: 119.7 kB / 346.9 MB, free: 15.95 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001126/0.1093, allocations: 1.048 MB / 348 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007326/0.11, allocations: 419.3 kB / 348.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1101, allocations: 8.062 kB / 348.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.1105, allocations: 287.3 kB / 348.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1108, allocations: 68.61 kB / 348.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.1149, allocations: 3.438 MB / 352.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1153, allocations: 0.8029 MB / 353 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.1154, allocations: 35.23 kB / 353 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1156, allocations: 123.4 kB / 353.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1156, allocations: 0 / 353.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.1443, allocations: 8.089 MB / 361.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.49, allocations: 16.45 kB / 361.2 MB, free: 1.277 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)