Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",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.0008604/0.0008607, allocations: 94.56 kB / 17.3 MB, free: 6.109 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.0008839/0.000884, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.345/1.345, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004989/0.000499, allocations: 16 kB / 281.5 MB, free: 3.293 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09129, allocations: 47.57 MB / 329.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003548/0.09487, allocations: 3.303 MB / 332.4 MB, free: 324 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.09677, allocations: 0.9284 MB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.09706, allocations: 11.94 kB / 333.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.09729, allocations: 55.55 kB / 333.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.09768, allocations: 126.9 kB / 333.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.09809, allocations: 139.9 kB / 333.6 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005718/0.09867, allocations: 0.5639 MB / 334.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.09902, allocations: 190.5 kB / 334.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.09926, allocations: 183.2 kB / 334.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.09952, allocations: 206.9 kB / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.09958, allocations: 28 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-05/0.09965, allocations: 24 kB / 334.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.09974, allocations: 79.56 kB / 334.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.1, allocations: 264.4 kB / 335.1 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.1005, allocations: 0.5642 MB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1005, allocations: 4 kB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1005, allocations: 0 / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1005, allocations: 0 / 335.7 MB, free: 12.95 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001115/0.1017, allocations: 0.6872 MB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1017, allocations: 8.031 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1018, allocations: 86.7 kB / 336.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.1019, allocations: 60.28 kB / 336.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.1024, allocations: 348.3 kB / 336.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.1024, allocations: 37.31 kB / 336.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.1025, allocations: 44.12 kB / 337 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.1033, allocations: 453.6 kB / 337.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1033, allocations: 3.906 kB / 337.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.1034, allocations: 19.94 kB / 337.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1034, allocations: 8 kB / 337.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.104, allocations: 327.8 kB / 337.8 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.1062, allocations: 1.848 MB / 339.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.107, allocations: 0.6241 MB / 340.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.1075, allocations: 277.3 kB / 340.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1076, allocations: 4.328 kB / 340.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/0.108, allocations: 265.2 kB / 340.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.073e-06/0.108, allocations: 0 / 340.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002222/0.1102, allocations: 0.8666 MB / 341.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1103, allocations: 81.11 kB / 341.7 MB, free: 6.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1106, allocations: 308.5 kB / 342 MB, free: 6.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1107, allocations: 37.7 kB / 342.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1108, allocations: 216.4 kB / 342.3 MB, free: 6.012 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.1109, allocations: 134.1 kB / 342.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.111, allocations: 45.69 kB / 342.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1111, allocations: 350.7 kB / 342.8 MB, free: 5.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.1113, allocations: 121.1 kB / 342.9 MB, free: 5.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.1116, allocations: 253 kB / 343.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.1121, allocations: 389.9 kB / 343.5 MB, free: 4.625 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1121, allocations: 0 / 343.5 MB, free: 4.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008064/0.1129, allocations: 0.5093 MB / 344 MB, free: 4.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.113, allocations: 12.03 kB / 344.1 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.113, allocations: 4 kB / 344.1 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.1134, allocations: 151.8 kB / 344.2 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.1137, allocations: 67.78 kB / 344.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.1161, allocations: 2.307 MB / 346.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1164, allocations: 47.66 kB / 346.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1164, allocations: 16 kB / 346.6 MB, free: 1.375 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.1166, allocations: 193.6 kB / 346.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1167, allocations: 39.52 kB / 346.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.591e-05/0.1168, allocations: 48.3 kB / 346.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1168, allocations: 4 kB / 346.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1168, allocations: 4 kB / 346.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1168, allocations: 3.938 kB / 346.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.1182, allocations: 1.024 MB / 348 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1182, allocations: 0 / 348 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1184, allocations: 39.86 kB / 348 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003686/0.1188, allocations: 144.7 kB / 348.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1188, allocations: 15.94 kB / 348.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.1212, allocations: 2.307 MB / 350.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1212, allocations: 0 / 350.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1223, allocations: 0.7233 MB / 351.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1224, allocations: 152.6 kB / 351.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.1225, allocations: 8 kB / 351.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1227, allocations: 15.98 kB / 351.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.1228, allocations: 35.95 kB / 351.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1228, allocations: 8 kB / 351.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.123, allocations: 223.1 kB / 351.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.123, allocations: 7.938 kB / 351.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.1236, allocations: 147.7 kB / 351.8 MB, free: 12 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.125, allocations: 1.258 MB / 353 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1261, allocations: 0.5528 MB / 353.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1261, allocations: 3.984 kB / 353.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.1266, allocations: 379 kB / 353.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.1272, allocations: 76.98 kB / 354 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.1326, allocations: 4.203 MB / 358.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.133, allocations: 0.8279 MB / 359.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1331, allocations: 39.39 kB / 359.1 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.1333, allocations: 139.4 kB / 359.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1333, allocations: 0 / 359.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.156, allocations: 9.785 MB / 369 MB, free: 10.46 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/0.1563, allocations: 285.6 kB / 369.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.182, allocations: 0 / 369.3 MB, free: 10.07 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)