Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",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.001199/0.001199, allocations: 107 kB / 16.62 MB, free: 6.805 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.001214/0.001214, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.17/0.17, allocations: 38.02 MB / 329.4 MB, free: 8.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.64 kB / 398.4 MB, free: 34.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.09008, allocations: 58.07 MB / 456.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008217/0.09833, allocations: 7.797 MB / 464.3 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.1022, allocations: 2.446 MB / 466.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.1028, allocations: 47.69 kB / 466.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.1042, allocations: 490 kB / 467.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1054, allocations: 0.5058 MB / 467.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.1062, allocations: 339.5 kB / 468.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1075, allocations: 1.31 MB / 469.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009126/0.1084, allocations: 0.7597 MB / 470.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.1092, allocations: 0.5488 MB / 470.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.1101, allocations: 0.7284 MB / 471.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.1103, allocations: 100 kB / 471.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.1111, allocations: 0.5461 MB / 472 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.1116, allocations: 478.8 kB / 472.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000534/0.1121, allocations: 0.5172 MB / 473 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1134, allocations: 1.445 MB / 474.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1134, allocations: 0 / 474.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1134, allocations: 0 / 474.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.1134, allocations: 0 / 474.5 MB, free: 6.184 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00266/0.1161, allocations: 1.348 MB / 475.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1162, allocations: 15.89 kB / 475.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.1163, allocations: 139.6 kB / 476 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.117, allocations: 151.6 kB / 476.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1181, allocations: 0.6515 MB / 476.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.1183, allocations: 175.4 kB / 477 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.1185, allocations: 91.98 kB / 477 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.1206, allocations: 1.354 MB / 478.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.1206, allocations: 11.92 kB / 478.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.1207, allocations: 36 kB / 478.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.1209, allocations: 57.98 kB / 478.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.1231, allocations: 1.3 MB / 479.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006326/0.1294, allocations: 4.915 MB / 484.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.1315, allocations: 1.146 MB / 485.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1325, allocations: 0.6193 MB / 486.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.495e-05/0.1326, allocations: 12.55 kB / 486.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1326, allocations: 39.06 kB / 486.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.336e-06/0.1326, allocations: 4 kB / 486.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005359/0.138, allocations: 3.171 MB / 489.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1381, allocations: 89.61 kB / 489.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1385, allocations: 465.9 kB / 490.2 MB, free: 5.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.1386, allocations: 37.7 kB / 490.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.1388, allocations: 395.3 kB / 490.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.139, allocations: 256.3 kB / 490.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.1392, allocations: 150.6 kB / 491.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1394, allocations: 378.8 kB / 491.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008375/0.1402, allocations: 497.7 kB / 491.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/0.1412, allocations: 0.6911 MB / 492.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.143, allocations: 1.224 MB / 493.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.143, allocations: 0 / 493.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004053/0.147, allocations: 1.986 MB / 495.8 MB, free: 104 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1471, allocations: 11.94 kB / 495.8 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003566/0.1507, allocations: 1.711 MB / 497.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.1524, allocations: 0.6573 MB / 498.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.1529, allocations: 147.8 kB / 498.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.1639, allocations: 7.414 MB / 0.4939 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.1646, allocations: 71.91 kB / 0.494 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.1647, allocations: 35.94 kB / 0.494 GB, free: 5.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004911/0.1652, allocations: 317.6 kB / 0.4943 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1654, allocations: 59.25 kB / 0.4944 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.1677, allocations: 1.297 MB / 0.4956 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.1678, allocations: 15.98 kB / 0.4957 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1678, allocations: 7.938 kB / 0.4957 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.1678, allocations: 7.984 kB / 0.4957 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.1717, allocations: 2.414 MB / 0.498 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.1718, allocations: 7.984 kB / 0.498 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/0.1743, allocations: 495.4 kB / 0.4985 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.1744, allocations: 40.83 kB / 0.4985 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.1745, allocations: 16 kB / 0.4986 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.1757, allocations: 1.63 MB / 0.5001 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1757, allocations: 3.938 kB / 0.5002 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.1788, allocations: 2.012 MB / 0.5021 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.179, allocations: 132.3 kB / 0.5022 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.1791, allocations: 16 kB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.1796, allocations: 59.92 kB / 0.5023 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.1798, allocations: 64.41 kB / 0.5024 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.1799, allocations: 23.92 kB / 0.5024 GB, free: 12.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.1802, allocations: 314.9 kB / 0.5027 GB, free: 12.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1802, allocations: 0 / 0.5027 GB, free: 12.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008892/0.1811, allocations: 240 kB / 0.5029 GB, free: 12.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003538/0.1847, allocations: 2.582 MB / 0.5055 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003316/0.188, allocations: 1.836 MB / 0.5072 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.188, allocations: 448 / 0.5072 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.1906, allocations: 1.005 MB / 0.5082 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.1914, allocations: 160.5 kB / 0.5084 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1698/0.3612, allocations: 9.861 MB / 0.518 GB, free: 70.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.3619, allocations: 1.073 MB / 0.5191 GB, free: 69.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006753/0.3626, allocations: 215.2 kB / 0.5193 GB, free: 69.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.363, allocations: 288.8 kB / 0.5195 GB, free: 69.55 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.363, allocations: 0 / 0.5195 GB, free: 69.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/0.4381, allocations: 19.71 MB / 0.5388 GB, free: 62.72 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.4383, allocations: 224.6 kB / 0.539 GB, free: 62.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.809, allocations: 3.875 kB / 0.539 GB, free: 62.47 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)