Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.001685/0.001685, allocations: 100.6 kB / 16.45 MB, free: 6.441 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.002/0.002, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05266/0.05266, allocations: 8.09 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 71.88 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.0905, allocations: 51.5 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003785/0.09433, allocations: 2.696 MB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.0967, allocations: 1.625 MB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.09686, allocations: 8 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.09729, allocations: 167 kB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.09785, allocations: 218.5 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.1002, allocations: 1.237 MB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.1009, allocations: 469.7 kB / 471.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.1012, allocations: 169.8 kB / 472.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.1014, allocations: 195.3 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.1017, allocations: 227 kB / 472.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.1018, allocations: 36 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.1024, allocations: 279.7 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.1025, allocations: 83.69 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1027, allocations: 230.8 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008105/0.1035, allocations: 0.6344 MB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1036, allocations: 0 / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1036, allocations: 4 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1036, allocations: 0 / 473.7 MB, free: 10.39 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005065/0.1087, allocations: 1.418 MB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1087, allocations: 11.89 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.84e-05/0.1088, allocations: 70.72 kB / 475.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1089, allocations: 48.66 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.1094, allocations: 339.6 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1094, allocations: 33.03 kB / 475.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.1095, allocations: 40.38 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000852/0.1104, allocations: 0.5101 MB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1104, allocations: 3.938 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.1104, allocations: 16 kB / 476.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1105, allocations: 8 kB / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.1112, allocations: 450.5 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.1141, allocations: 2.107 MB / 478.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.115, allocations: 0.5746 MB / 479.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.1155, allocations: 276.8 kB / 479.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/0.1156, allocations: 15.97 kB / 479.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1156, allocations: 42.5 kB / 479.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.1156, allocations: 0 / 479.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006571/0.1222, allocations: 1.826 MB / 481.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.1223, allocations: 110.8 kB / 481.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1226, allocations: 274.9 kB / 481.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.1227, allocations: 37.7 kB / 481.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1228, allocations: 184.9 kB / 482.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.123, allocations: 150.7 kB / 482.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1232, allocations: 110.2 kB / 482.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1233, allocations: 346.8 kB / 482.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.1238, allocations: 281 kB / 483 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.1243, allocations: 340.6 kB / 483.3 MB, free: 368 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.1253, allocations: 0.6217 MB / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1253, allocations: 11.88 kB / 483.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003384/0.1287, allocations: 1.245 MB / 485.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1287, allocations: 4 kB / 485.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1287, allocations: 3.984 kB / 485.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003604/0.1324, allocations: 0.7808 MB / 486 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1327, allocations: 83.89 kB / 486 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.1403, allocations: 4.058 MB / 490.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.1408, allocations: 55.61 kB / 490.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.1408, allocations: 27.98 kB / 490.2 MB, free: 9.328 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.1411, allocations: 161.7 kB / 490.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.1412, allocations: 39.77 kB / 490.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.1446, allocations: 1.199 MB / 491.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1447, allocations: 8 kB / 491.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1447, allocations: 3.984 kB / 491.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.1447, allocations: 3.984 kB / 491.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.1487, allocations: 1.795 MB / 493.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.1487, allocations: 3.938 kB / 493.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1489, allocations: 59.91 kB / 493.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/0.1524, allocations: 0.7383 MB / 494.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.1524, allocations: 15.98 kB / 494.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007351/0.1598, allocations: 4.017 MB / 498.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1598, allocations: 0 / 498.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.1633, allocations: 1.219 MB / 499.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1635, allocations: 120.7 kB / 499.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.1635, allocations: 19.98 kB / 499.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.1639, allocations: 26.8 kB / 499.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.1641, allocations: 32.39 kB / 499.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.1641, allocations: 16 kB / 499.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.1643, allocations: 190 kB / 499.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1643, allocations: 0 / 499.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007021/0.1651, allocations: 195.8 kB / 0.4883 GB, free: 15.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003829/0.1689, allocations: 1.771 MB / 0.49 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.1715, allocations: 1.035 MB / 0.491 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1715, allocations: 0 / 0.491 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.1733, allocations: 0.6687 MB / 0.4917 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1738, allocations: 47.5 kB / 0.4917 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.1843, allocations: 5.141 MB / 0.4968 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.1849, allocations: 0.8091 MB / 0.4976 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.1851, allocations: 50.92 kB / 0.4976 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.1853, allocations: 135.4 kB / 0.4977 GB, free: 5.395 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1853, allocations: 0 / 0.4977 GB, free: 5.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/0.4268, allocations: 15 MB / 0.5124 GB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.22, allocations: 6.469 kB / 0.5124 GB, free: 45.45 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)