Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.001431/0.001431, allocations: 102.6 kB / 16.45 MB, free: 6.438 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.001379/0.001379, allocations: 186.4 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.329/1.329, 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.05145/0.05145, allocations: 8.101 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 63.89 kB / 414 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09323, allocations: 51.51 MB / 465.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002824/0.09609, allocations: 1.605 MB / 467.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.09821, allocations: 1.551 MB / 468.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.0983, allocations: 4 kB / 468.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.09867, allocations: 127.3 kB / 468.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.09904, allocations: 143.1 kB / 468.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1012, allocations: 1.171 MB / 470.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.1016, allocations: 242.8 kB / 470.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1018, allocations: 76.33 kB / 470.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1019, allocations: 111.5 kB / 470.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.1021, allocations: 119.5 kB / 470.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.1022, allocations: 20 kB / 470.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.1026, allocations: 259.7 kB / 470.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.1027, allocations: 43.84 kB / 470.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1028, allocations: 119.3 kB / 471.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.1034, allocations: 430.8 kB / 471.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1035, allocations: 3.938 kB / 471.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1035, allocations: 0 / 471.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1035, allocations: 0 / 471.5 MB, free: 12.77 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002999/0.1065, allocations: 0.9157 MB / 472.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1065, allocations: 15.89 kB / 472.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.1066, allocations: 50.73 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.1067, allocations: 32.75 kB / 472.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.107, allocations: 260 kB / 472.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1071, allocations: 16.64 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.1071, allocations: 20.38 kB / 472.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.1076, allocations: 281.7 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1076, allocations: 11.94 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.1077, allocations: 8 kB / 473.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1077, allocations: 4 kB / 473.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.1081, allocations: 247.8 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1097, allocations: 1.141 MB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.1104, allocations: 307.4 kB / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.1106, allocations: 153.3 kB / 474.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.1107, allocations: 15.92 kB / 474.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1108, allocations: 42.55 kB / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.1108, allocations: 0 / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00325/0.114, allocations: 0.9595 MB / 475.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.1141, allocations: 88.98 kB / 476 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1144, allocations: 210.9 kB / 476.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1144, allocations: 29.7 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.1145, allocations: 132.8 kB / 476.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.1146, allocations: 99.2 kB / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1147, allocations: 65.69 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1149, allocations: 334.8 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1152, allocations: 160 kB / 477 MB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1155, allocations: 189.6 kB / 477.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.1161, allocations: 374.1 kB / 477.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1161, allocations: 0 / 477.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001823/0.1179, allocations: 0.6929 MB / 478.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1179, allocations: 4 kB / 478.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1179, allocations: 3.938 kB / 478.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.1198, allocations: 384.4 kB / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.12, allocations: 51.97 kB / 478.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.1248, allocations: 2.746 MB / 481.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1251, allocations: 31.84 kB / 481.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.1251, allocations: 15.98 kB / 481.5 MB, free: 2.246 MB / 350.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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.1253, allocations: 133.8 kB / 481.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.1254, allocations: 27.8 kB / 481.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.1273, allocations: 0.6519 MB / 482.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1273, allocations: 3.938 kB / 482.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1273, allocations: 0 / 482.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1273, allocations: 11.97 kB / 482.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.1277, allocations: 377.3 kB / 482.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1278, allocations: 7.984 kB / 482.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1279, allocations: 35.98 kB / 482.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.1296, allocations: 368.5 kB / 483.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.1296, allocations: 7.938 kB / 483.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004441/0.1341, allocations: 2.719 MB / 485.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1341, allocations: 0 / 485.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.1358, allocations: 0.7073 MB / 486.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.1359, allocations: 104.9 kB / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.136, allocations: 4 kB / 486.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1362, allocations: 23.98 kB / 486.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.1363, allocations: 15.97 kB / 486.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.1363, allocations: 12 kB / 486.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1365, allocations: 151.4 kB / 486.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1365, allocations: 0 / 486.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.137, allocations: 103.9 kB / 486.9 MB, free: 12.55 MB / 366.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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.1392, allocations: 1.267 MB / 488.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.1409, allocations: 0.6546 MB / 488.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1409, allocations: 3.938 kB / 488.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.1421, allocations: 442.4 kB / 489.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1424, allocations: 35.06 kB / 489.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.1485, allocations: 3.366 MB / 492.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.149, allocations: 0.7485 MB / 493.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1491, allocations: 25.92 kB / 493.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1492, allocations: 71.41 kB / 493.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1492, allocations: 4 kB / 493.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.1847, allocations: 8.799 MB / 0.4906 GB, free: 13.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.57, allocations: 11.62 kB / 0.4906 GB, free: 13.12 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad_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_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)