Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001244/0.001244, allocations: 105 kB / 16.45 MB, free: 6.445 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.001431/0.001431, allocations: 188.9 kB / 17.39 MB, free: 5.684 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05126/0.05126, allocations: 8.102 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 59.91 kB / 414 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.09087, allocations: 51.53 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003804/0.09472, allocations: 2.306 MB / 467.8 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.09704, allocations: 1.66 MB / 469.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.09717, allocations: 8 kB / 469.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.0976, allocations: 167 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.09806, allocations: 206.7 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.1002, allocations: 1.218 MB / 471.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.1007, allocations: 417.9 kB / 471.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.101, allocations: 127.5 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1012, allocations: 167.4 kB / 471.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1015, allocations: 211.1 kB / 472 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.1015, allocations: 32 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.102, allocations: 267.8 kB / 472.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.1021, allocations: 83.67 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.1023, allocations: 195 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.103, allocations: 0.5839 MB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.103, allocations: 0 / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.103, allocations: 0 / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.103, allocations: 0 / 473.1 MB, free: 11.05 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004925/0.108, allocations: 1.372 MB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.108, allocations: 11.89 kB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.218e-05/0.1081, allocations: 70.67 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.1082, allocations: 44.7 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.1086, allocations: 339.6 kB / 474.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1087, allocations: 20.94 kB / 475 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.1087, allocations: 32.38 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.1095, allocations: 476.9 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1095, allocations: 7.922 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.1096, allocations: 12 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1096, allocations: 8 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.1102, allocations: 418.1 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.1129, allocations: 2.009 MB / 477.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009418/0.1139, allocations: 0.5102 MB / 478.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.1143, allocations: 280.8 kB / 478.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.1144, allocations: 23.95 kB / 478.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1144, allocations: 34.56 kB / 478.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.1145, allocations: 7.938 kB / 478.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006707/0.1212, allocations: 1.877 MB / 480.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.1213, allocations: 110.8 kB / 480.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.1216, allocations: 274.9 kB / 481 MB, free: 2.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.1216, allocations: 37.7 kB / 481 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1218, allocations: 165 kB / 481.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1219, allocations: 154.7 kB / 481.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.1221, allocations: 106.2 kB / 481.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1223, allocations: 342.8 kB / 481.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.1227, allocations: 293 kB / 482.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.1233, allocations: 348.6 kB / 482.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1243, allocations: 0.6451 MB / 483.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1243, allocations: 0 / 483.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003525/0.1278, allocations: 1.28 MB / 484.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1279, allocations: 7.938 kB / 484.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1279, allocations: 0 / 484.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/0.1314, allocations: 0.7764 MB / 485.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.1318, allocations: 87.89 kB / 485.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007687/0.1395, allocations: 4.171 MB / 489.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.1399, allocations: 59.61 kB / 489.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.14, allocations: 20 kB / 489.5 MB, free: 10.09 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.0002188/0.1402, allocations: 166.6 kB / 489.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.1403, allocations: 31.81 kB / 489.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.1438, allocations: 1.234 MB / 490.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1439, allocations: 4 kB / 490.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.1439, allocations: 0 / 490.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1439, allocations: 7.984 kB / 490.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.1445, allocations: 0.5522 MB / 491.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1445, allocations: 3.938 kB / 491.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1447, allocations: 67.91 kB / 491.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/0.1482, allocations: 0.7488 MB / 492.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.1482, allocations: 8 kB / 492.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007358/0.1556, allocations: 4.132 MB / 496.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1556, allocations: 4.156 kB / 496.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.159, allocations: 1.238 MB / 497.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1592, allocations: 116.8 kB / 497.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.1592, allocations: 11.94 kB / 497.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.1596, allocations: 34.78 kB / 497.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1597, allocations: 44.25 kB / 497.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.1598, allocations: 16 kB / 497.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.16, allocations: 190 kB / 498.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.16, allocations: 4 kB / 498.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005904/0.1606, allocations: 179.9 kB / 498.2 MB, free: 1.062 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 (36): * Single equations (assignments): 35 * 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.003721/0.1644, allocations: 1.802 MB / 0.4883 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.1669, allocations: 1.047 MB / 0.4893 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.1669, allocations: 7.938 kB / 0.4894 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.1688, allocations: 0.6765 MB / 0.49 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1692, allocations: 40.81 kB / 0.4901 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.1797, allocations: 5.202 MB / 0.4951 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.1802, allocations: 0.8012 MB / 0.4959 GB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.1804, allocations: 54.91 kB / 0.496 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.1806, allocations: 123.3 kB / 0.4961 GB, free: 7.145 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1806, allocations: 4 kB / 0.4961 GB, free: 7.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/0.3905, allocations: 15.23 MB / 0.511 GB, free: 46.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.27, allocations: 4.688 kB / 0.511 GB, free: 46.41 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)