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.001185/0.001185, allocations: 107.2 kB / 16.45 MB, free: 6.441 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.001145/0.001146, allocations: 194 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04932/0.04932, allocations: 8.101 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1054, allocations: 51.52 MB / 465.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.004375/0.1098, allocations: 2.458 MB / 468 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1124, allocations: 1.493 MB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.1128, allocations: 4 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.1134, allocations: 167 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007298/0.1142, allocations: 194.7 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1161, allocations: 0.9413 MB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007337/0.1168, allocations: 418.1 kB / 471.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1171, allocations: 159 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.1174, allocations: 179.3 kB / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.1178, allocations: 227 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.1179, allocations: 32 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.1184, allocations: 199.9 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.1184, allocations: 87.67 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.1187, allocations: 206.9 kB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.1194, allocations: 0.5343 MB / 472.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1195, allocations: 7.875 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1195, allocations: 0 / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1195, allocations: 0 / 472.8 MB, free: 11.36 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.00389/0.1234, allocations: 1.138 MB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1234, allocations: 15.88 kB / 473.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.1236, allocations: 71.3 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1237, allocations: 44.47 kB / 474 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.1242, allocations: 335.4 kB / 474.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1242, allocations: 21.03 kB / 474.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.1243, allocations: 32.38 kB / 474.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.1249, allocations: 414.6 kB / 474.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.125, allocations: 7.938 kB / 474.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.125, allocations: 16 kB / 474.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.125, allocations: 8 kB / 474.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.1256, allocations: 398.4 kB / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1277, allocations: 1.495 MB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.1288, allocations: 491.1 kB / 477.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.1291, allocations: 244.8 kB / 477.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-05/0.1292, allocations: 11.97 kB / 477.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1292, allocations: 46.5 kB / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.1293, allocations: 0 / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004327/0.1336, allocations: 1.51 MB / 479 MB, free: 4.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1336, allocations: 59.39 kB / 479.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.134, allocations: 270.6 kB / 479.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.134, allocations: 33.7 kB / 479.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1341, allocations: 168.8 kB / 479.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1343, allocations: 149.8 kB / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1344, allocations: 90.23 kB / 479.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1345, allocations: 338.8 kB / 480.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.1349, allocations: 213 kB / 480.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.1352, allocations: 217 kB / 480.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.1359, allocations: 495.4 kB / 481 MB, free: 2.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1359, allocations: 4 kB / 481 MB, free: 2.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002042/0.138, allocations: 0.8911 MB / 481.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.138, allocations: 4 kB / 481.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.138, allocations: 0 / 481.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.1398, allocations: 394 kB / 482.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.14, allocations: 67.91 kB / 482.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0066/0.1467, allocations: 5.924 MB / 488.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.147, allocations: 35.67 kB / 488.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.147, allocations: 16 kB / 488.3 MB, free: 10.97 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.0001984/0.1472, allocations: 157.7 kB / 488.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.1473, allocations: 39.52 kB / 488.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.1495, allocations: 0.9077 MB / 489.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1495, allocations: 7.984 kB / 489.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1495, allocations: 0 / 489.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1495, allocations: 3.984 kB / 489.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.1501, allocations: 0.5208 MB / 490 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1501, allocations: 4 kB / 490 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.1503, allocations: 67.91 kB / 490 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.1519, allocations: 382.1 kB / 490.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.152, allocations: 15.94 kB / 490.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005962/0.158, allocations: 5.862 MB / 496.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.158, allocations: 0 / 496.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.16, allocations: 0.9391 MB / 497.2 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.1601, allocations: 120.5 kB / 497.3 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.1602, allocations: 4 kB / 497.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.1605, allocations: 27.97 kB / 497.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1606, allocations: 40.39 kB / 497.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.1607, allocations: 19.98 kB / 497.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1609, allocations: 182 kB / 497.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1609, allocations: 8 kB / 497.6 MB, free: 1.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000589/0.1615, allocations: 163.8 kB / 497.8 MB, free: 0.9688 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.002848/0.1644, allocations: 1.818 MB / 499.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.1662, allocations: 0.9938 MB / 0.4889 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1662, allocations: 0 / 0.4889 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.1675, allocations: 0.7366 MB / 0.4896 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1679, allocations: 44.48 kB / 0.4896 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.1751, allocations: 4.389 MB / 0.4939 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1755, allocations: 0.8052 MB / 0.4947 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.1756, allocations: 50.92 kB / 0.4947 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1758, allocations: 119.4 kB / 0.4949 GB, free: 7.773 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1758, allocations: 0 / 0.4949 GB, free: 7.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2402/0.416, allocations: 14.28 MB / 0.5088 GB, free: 45.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.46, allocations: 6.297 kB / 0.5088 GB, free: 45.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)