Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",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.001197/0.001197, allocations: 109.1 kB / 16.45 MB, free: 6.645 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.001156/0.001156, allocations: 192.1 kB / 17.39 MB, free: 5.781 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0511/0.0511, allocations: 8.11 MB / 299.4 MB, free: 6.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 71.84 kB / 414 MB, free: 22.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09122, allocations: 51.52 MB / 465.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003607/0.09487, allocations: 2.453 MB / 468 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.09706, allocations: 1.5 MB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.0972, allocations: 8 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.09763, allocations: 159.1 kB / 469.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.09806, allocations: 190.7 kB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.09974, allocations: 0.9371 MB / 470.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.1002, allocations: 430 kB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.1005, allocations: 144.2 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1007, allocations: 179.3 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.101, allocations: 239 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.1011, allocations: 32 kB / 471.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.1014, allocations: 199.8 kB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.1015, allocations: 91.61 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.1017, allocations: 206.9 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.1024, allocations: 0.5444 MB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1024, allocations: 0 / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1024, allocations: 3.938 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1024, allocations: 0 / 472.8 MB, free: 11.31 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003578/0.106, allocations: 1.145 MB / 473.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.106, allocations: 11.89 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.1062, allocations: 75.31 kB / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.1062, allocations: 44.66 kB / 474.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.1067, allocations: 331.6 kB / 474.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.1067, allocations: 33.03 kB / 474.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.1068, allocations: 32.38 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.1075, allocations: 414.6 kB / 474.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1075, allocations: 3.938 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.1076, allocations: 16 kB / 474.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1076, allocations: 4 kB / 474.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.1082, allocations: 398.5 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1103, allocations: 1.499 MB / 476.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1114, allocations: 495.1 kB / 477.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1117, allocations: 248.8 kB / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-05/0.1118, allocations: 11.98 kB / 477.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1118, allocations: 38.56 kB / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.1119, allocations: 3.938 kB / 477.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004446/0.1163, allocations: 1.514 MB / 479.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1164, allocations: 55.41 kB / 479.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.1167, allocations: 270.6 kB / 479.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.1168, allocations: 37.7 kB / 479.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1169, allocations: 169 kB / 479.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.117, allocations: 158.6 kB / 479.7 MB, free: 4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.1172, allocations: 82.25 kB / 479.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1173, allocations: 346.8 kB / 480.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.1177, allocations: 213.1 kB / 480.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.118, allocations: 221 kB / 480.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.1188, allocations: 487.5 kB / 481.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1188, allocations: 0 / 481.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002171/0.121, allocations: 0.8951 MB / 482 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.121, allocations: 4 kB / 482 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.121, allocations: 8 kB / 482 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/0.1228, allocations: 394.1 kB / 482.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1231, allocations: 67.91 kB / 482.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/0.1304, allocations: 5.928 MB / 488.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.1307, allocations: 35.73 kB / 488.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.1308, allocations: 15.98 kB / 488.4 MB, free: 10.89 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.131, allocations: 157.8 kB / 488.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.1311, allocations: 35.81 kB / 488.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.1334, allocations: 0.9156 MB / 489.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1334, allocations: 4 kB / 489.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1334, allocations: 8 kB / 489.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1334, allocations: 0 / 489.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.134, allocations: 0.5248 MB / 490 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.134, allocations: 3.938 kB / 490 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.1342, allocations: 55.91 kB / 490.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/0.1359, allocations: 386.1 kB / 490.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.136, allocations: 12 kB / 490.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00687/0.1428, allocations: 5.866 MB / 496.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1428, allocations: 0 / 496.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.1451, allocations: 0.9394 MB / 497.3 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1452, allocations: 120.7 kB / 497.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.1453, allocations: 15.94 kB / 497.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.1456, allocations: 23.98 kB / 497.4 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1457, allocations: 44.38 kB / 497.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.1458, allocations: 12 kB / 497.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.146, allocations: 190 kB / 497.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.146, allocations: 0 / 497.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006508/0.1467, allocations: 163.9 kB / 497.8 MB, free: 0.8828 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): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003102/0.1498, allocations: 1.822 MB / 499.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.1518, allocations: 0.9937 MB / 0.4889 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1518, allocations: 0 / 0.4889 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.1532, allocations: 0.7365 MB / 0.4896 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1536, allocations: 52.73 kB / 0.4897 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/0.1615, allocations: 4.401 MB / 0.494 GB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.162, allocations: 0.8052 MB / 0.4948 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.1622, allocations: 42.94 kB / 0.4948 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1624, allocations: 119.4 kB / 0.4949 GB, free: 7.668 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1624, allocations: 0 / 0.4949 GB, free: 7.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2247/0.3871, allocations: 13.82 MB / 0.5084 GB, free: 46.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.9, allocations: 12.34 kB / 0.5084 GB, free: 46.13 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork_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_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)