Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001796/0.001796, allocations: 103.8 kB / 16.45 MB, free: 6.434 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.001925/0.001925, allocations: 192.8 kB / 17.39 MB, free: 5.664 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05566/0.05566, allocations: 8.102 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 67.89 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09824, allocations: 51.51 MB / 465.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.004377/0.1027, allocations: 2.91 MB / 468.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1055, allocations: 1.66 MB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.1059, allocations: 11.94 kB / 470.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.1065, allocations: 178.9 kB / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.1074, allocations: 234.5 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.1099, allocations: 1.237 MB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.1108, allocations: 0.5016 MB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.1112, allocations: 222 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.1116, allocations: 207.2 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.112, allocations: 258.9 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1121, allocations: 40 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006189/0.1128, allocations: 283.8 kB / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1129, allocations: 107.5 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.1132, allocations: 246.8 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.1144, allocations: 0.6927 MB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1144, allocations: 3.984 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1144, allocations: 4 kB / 474.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.1145, allocations: 0 / 474.3 MB, free: 9.852 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.005448/0.1199, allocations: 1.454 MB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.12, allocations: 11.89 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.1201, allocations: 74.72 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1203, allocations: 56.61 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.1208, allocations: 355.4 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1208, allocations: 41.38 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.1209, allocations: 40.38 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1219, allocations: 0.5659 MB / 476.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.122, allocations: 3.938 kB / 476.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.122, allocations: 16 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.122, allocations: 12 kB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.1229, allocations: 475.8 kB / 477.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.1262, allocations: 2.191 MB / 479.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1273, allocations: 0.6424 MB / 480.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.1277, allocations: 264.8 kB / 480.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.36e-05/0.1278, allocations: 7.984 kB / 480.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.1278, allocations: 38.56 kB / 480.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/0.1278, allocations: 0 / 480.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006889/0.1347, allocations: 1.834 MB / 482.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.1348, allocations: 110.8 kB / 482.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.1352, allocations: 274.9 kB / 482.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.1353, allocations: 37.7 kB / 482.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1355, allocations: 201.4 kB / 482.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.1356, allocations: 162.6 kB / 483.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.1358, allocations: 110.2 kB / 483.2 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.136, allocations: 342.8 kB / 483.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.1365, allocations: 273.1 kB / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.137, allocations: 324.6 kB / 484.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.138, allocations: 0.6022 MB / 484.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.138, allocations: 0 / 484.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003365/0.1414, allocations: 1.21 MB / 485.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1414, allocations: 4 kB / 485.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1414, allocations: 7.938 kB / 485.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/0.1449, allocations: 0.7656 MB / 486.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.1453, allocations: 91.83 kB / 486.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.153, allocations: 3.893 MB / 490.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.1535, allocations: 55.55 kB / 490.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.1535, allocations: 23.98 kB / 490.8 MB, free: 8.703 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.0003173/0.1539, allocations: 169.8 kB / 490.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.154, allocations: 35.75 kB / 491 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.1574, allocations: 1.156 MB / 492.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.1574, allocations: 15.88 kB / 492.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.1574, allocations: 3.984 kB / 492.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1575, allocations: 0 / 492.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/0.1615, allocations: 1.752 MB / 493.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1615, allocations: 0 / 493.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.1618, allocations: 63.91 kB / 493.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/0.1651, allocations: 0.7458 MB / 494.7 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.1652, allocations: 11.94 kB / 494.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/0.1724, allocations: 3.846 MB / 498.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1724, allocations: 0 / 498.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.1757, allocations: 1.177 MB / 499.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1759, allocations: 120.8 kB / 499.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.176, allocations: 15.94 kB / 499.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.1764, allocations: 22.8 kB / 499.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.1765, allocations: 40.33 kB / 499.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.1766, allocations: 16 kB / 499.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1768, allocations: 193.9 kB / 0.4884 GB, free: 15.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1768, allocations: 0 / 0.4884 GB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007385/0.1776, allocations: 203.8 kB / 0.4886 GB, free: 14.88 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 (34): * Single equations (assignments): 33 * 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.003703/0.1813, allocations: 1.74 MB / 0.4903 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.1839, allocations: 0.9882 MB / 0.4913 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.1839, allocations: 4 kB / 0.4913 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.1857, allocations: 0.6452 MB / 0.4919 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1861, allocations: 47.94 kB / 0.4919 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.1964, allocations: 5.09 MB / 0.4969 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.1969, allocations: 0.8207 MB / 0.4977 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.1972, allocations: 50.92 kB / 0.4978 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.1974, allocations: 147.4 kB / 0.4979 GB, free: 5.176 MB / 382.1 MB Notification: Performance of SimCode: time 2.795e-06/0.1974, allocations: 0 / 0.4979 GB, free: 5.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2479/0.4453, allocations: 14.74 MB / 0.5123 GB, free: 45.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.28, allocations: 1.562 kB / 0.5123 GB, free: 45.15 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)