Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_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.001414/0.001414, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001523/0.001523, allocations: 189.8 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.302/1.302, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1741/0.1741, allocations: 38.01 MB / 329.4 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001343, allocations: 64.64 kB / 398.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 58.06 MB / 456.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008848/0.1126, allocations: 7.51 MB / 464 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.1168, allocations: 2.364 MB / 466.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008626/0.1177, allocations: 39.75 kB / 466.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1193, allocations: 487.8 kB / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.1207, allocations: 0.5176 MB / 467.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.1217, allocations: 323.5 kB / 467.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.1233, allocations: 1.294 MB / 469 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.1244, allocations: 0.7597 MB / 469.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009158/0.1253, allocations: 0.541 MB / 470.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.1265, allocations: 0.7752 MB / 471 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.1267, allocations: 104 kB / 471.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1279, allocations: 0.6435 MB / 471.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.1284, allocations: 486.9 kB / 472.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008139/0.1293, allocations: 0.5328 MB / 472.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1309, allocations: 1.519 MB / 474.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1309, allocations: 0 / 474.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1309, allocations: 0 / 474.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.199e-05/0.1309, allocations: 0 / 474.3 MB, free: 6.371 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003309/0.1342, allocations: 1.375 MB / 475.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1343, allocations: 11.89 kB / 475.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.1345, allocations: 147.8 kB / 475.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.1352, allocations: 143.6 kB / 476 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.1364, allocations: 0.6571 MB / 476.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.1366, allocations: 175.4 kB / 476.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1368, allocations: 76 kB / 476.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.1391, allocations: 1.418 MB / 478.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.1391, allocations: 3.906 kB / 478.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.1392, allocations: 32 kB / 478.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.1394, allocations: 81.95 kB / 478.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.1421, allocations: 1.515 MB / 479.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006939/0.149, allocations: 4.443 MB / 484.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.1514, allocations: 1.189 MB / 485.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.1527, allocations: 0.7773 MB / 486.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-05/0.1528, allocations: 12.66 kB / 486.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.1528, allocations: 51.14 kB / 486.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.056e-06/0.1528, allocations: 0 / 486.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006637/0.1595, allocations: 3.846 MB / 490.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.1595, allocations: 90.11 kB / 490.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.16, allocations: 405.8 kB / 490.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.1601, allocations: 41.7 kB / 490.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.1604, allocations: 332.4 kB / 491.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.1607, allocations: 358.8 kB / 491.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.161, allocations: 170.5 kB / 491.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1612, allocations: 374.7 kB / 492 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.1622, allocations: 0.5953 MB / 492.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.1634, allocations: 0.7487 MB / 493.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.1655, allocations: 1.387 MB / 494.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1655, allocations: 4 kB / 494.7 MB, free: 1.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002807/0.1683, allocations: 1.596 MB / 496.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.1684, allocations: 11.94 kB / 496.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.1684, allocations: 4 kB / 496.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.1686, allocations: 41.03 kB / 496.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.1709, allocations: 0.4953 MB / 496.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.1775, allocations: 6.694 MB / 0.4918 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008864/0.1784, allocations: 79.89 kB / 0.4918 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.1786, allocations: 32 kB / 0.4919 GB, free: 7.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0007196/0.1793, allocations: 317.5 kB / 0.4922 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.1796, allocations: 67.19 kB / 0.4922 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.1825, allocations: 1.596 MB / 0.4938 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.1826, allocations: 24 kB / 0.4938 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1826, allocations: 4 kB / 0.4938 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1826, allocations: 3.984 kB / 0.4938 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.1875, allocations: 2.88 MB / 0.4966 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.1876, allocations: 4 kB / 0.4966 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/0.1902, allocations: 0.5268 MB / 0.4971 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.1903, allocations: 36.84 kB / 0.4972 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/0.1904, allocations: 31.97 kB / 0.4972 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.1917, allocations: 1.634 MB / 0.4988 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1918, allocations: 4.031 kB / 0.4988 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.1956, allocations: 2.538 MB / 0.5013 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.1959, allocations: 132.4 kB / 0.5014 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.196, allocations: 23.98 kB / 0.5014 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.1966, allocations: 67.91 kB / 0.5015 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.1968, allocations: 80.42 kB / 0.5016 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.1969, allocations: 32.06 kB / 0.5016 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.1972, allocations: 279.1 kB / 0.5019 GB, free: 13.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1972, allocations: 0 / 0.5019 GB, free: 13.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009149/0.1981, allocations: 240 kB / 0.5021 GB, free: 13.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.004123/0.2023, allocations: 3.141 MB / 0.5052 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.2071, allocations: 2.333 MB / 0.5075 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2071, allocations: 8.062 kB / 0.5075 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.2098, allocations: 1.194 MB / 0.5086 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.2106, allocations: 148.4 kB / 0.5088 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1879/0.3985, allocations: 9.557 MB / 0.5181 GB, free: 69.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.3991, allocations: 1.085 MB / 0.5192 GB, free: 69.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008162/0.3999, allocations: 265.4 kB / 0.5194 GB, free: 69.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.4004, allocations: 291.3 kB / 0.5197 GB, free: 68.91 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4004, allocations: 0.5625 kB / 0.5197 GB, free: 68.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.4342, allocations: 17.34 MB / 0.5366 GB, free: 63.79 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.4343, allocations: 238.2 kB / 0.5369 GB, free: 63.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.694, allocations: 0 / 0.5369 GB, free: 63.52 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)