Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.0017/0.0017, allocations: 110.2 kB / 16.45 MB, free: 6.453 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.001864/0.001864, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05134/0.05134, allocations: 8.111 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09355, allocations: 51.53 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.004196/0.09778, allocations: 2.836 MB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1006, allocations: 1.652 MB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1008, allocations: 8 kB / 470 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.1013, allocations: 175 kB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.1019, allocations: 234.5 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.1042, allocations: 1.253 MB / 471.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006293/0.1048, allocations: 489.6 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.1051, allocations: 177 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1054, allocations: 203.3 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.1057, allocations: 274.8 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.1058, allocations: 40 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.1063, allocations: 271.8 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1065, allocations: 103.6 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1067, allocations: 230.8 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.1075, allocations: 0.685 MB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1076, allocations: 0 / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1076, allocations: 0 / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.1076, allocations: 0 / 474.1 MB, free: 10.04 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005618/0.1132, allocations: 1.527 MB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1133, allocations: 11.89 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.1134, allocations: 74.72 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1135, allocations: 56.61 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1139, allocations: 347.5 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.114, allocations: 37.36 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.1141, allocations: 40.38 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.115, allocations: 0.5776 MB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.115, allocations: 7.938 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.1151, allocations: 16 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.1151, allocations: 12 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.1159, allocations: 0.5271 MB / 477.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.1191, allocations: 2.269 MB / 479.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.1204, allocations: 0.8492 MB / 480.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.1209, allocations: 326.1 kB / 480.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.338e-05/0.121, allocations: 12.42 kB / 480.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.121, allocations: 42.94 kB / 480.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 3.246e-06/0.121, allocations: 0 / 480.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.007125/0.1281, allocations: 2.046 MB / 482.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.1283, allocations: 107.2 kB / 483 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1286, allocations: 271 kB / 483.2 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.1287, allocations: 41.7 kB / 483.3 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1288, allocations: 185.6 kB / 483.4 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.129, allocations: 194.3 kB / 483.6 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.1292, allocations: 118.3 kB / 483.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1294, allocations: 346.8 kB / 484.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.1299, allocations: 317.2 kB / 484.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.1305, allocations: 389.7 kB / 484.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.1316, allocations: 0.7095 MB / 485.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1316, allocations: 4 kB / 485.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003673/0.1353, allocations: 1.344 MB / 486.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1353, allocations: 7.938 kB / 486.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1353, allocations: 0 / 486.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.1388, allocations: 0.7844 MB / 487.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.1393, allocations: 99.89 kB / 487.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007505/0.1468, allocations: 4.182 MB / 491.9 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.1473, allocations: 63.5 kB / 492 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.1474, allocations: 23.98 kB / 492 MB, free: 7.477 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 (61): * Single equations (assignments): 60 * 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.0002483/0.1476, allocations: 173.7 kB / 492.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.1477, allocations: 35.77 kB / 492.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.1513, allocations: 1.315 MB / 493.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.1513, allocations: 4 kB / 493.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1513, allocations: 7.984 kB / 493.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1513, allocations: 3.984 kB / 493.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.1555, allocations: 1.989 MB / 495.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1556, allocations: 0 / 495.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1558, allocations: 71.91 kB / 495.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/0.1592, allocations: 0.7524 MB / 496.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.1593, allocations: 12 kB / 496.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/0.1665, allocations: 4.125 MB / 0.4887 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1665, allocations: 7.938 kB / 0.4888 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.17, allocations: 1.312 MB / 0.49 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1701, allocations: 124.7 kB / 0.4902 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.1702, allocations: 12 kB / 0.4902 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.1706, allocations: 26.95 kB / 0.4902 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1707, allocations: 40.5 kB / 0.4902 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.1708, allocations: 24 kB / 0.4903 GB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.171, allocations: 193.9 kB / 0.4904 GB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.171, allocations: 0 / 0.4904 GB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006436/0.1717, allocations: 203.8 kB / 0.4906 GB, free: 12.8 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 (45): * Single equations (assignments): 44 * 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.003807/0.1755, allocations: 1.864 MB / 0.4925 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.1782, allocations: 1.139 MB / 0.4936 GB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1783, allocations: 0 / 0.4936 GB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.1802, allocations: 0.7205 MB / 0.4943 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1806, allocations: 44.88 kB / 0.4943 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.1915, allocations: 5.516 MB / 0.4997 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.1921, allocations: 0.814 MB / 0.5005 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002663/0.1923, allocations: 63.22 kB / 0.5006 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.1926, allocations: 147.4 kB / 0.5007 GB, free: 2.324 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1926, allocations: 0 / 0.5007 GB, free: 2.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2296/0.4222, allocations: 15.99 MB / 0.5163 GB, free: 43.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.41, allocations: 4 kB / 0.5163 GB, free: 43.17 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)