Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 120.9 kB / 17.88 MB, free: 5.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 209.6 kB / 20.84 MB, free: 2.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04623/0.04623, allocations: 6.13 MB / 316.4 MB, free: 1.16 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 49.14 kB / 440 MB, free: 40.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1, allocations: 54.99 MB / 494.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003556/0.1036, allocations: 3.632 MB / 498.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1056, allocations: 1.855 MB / 0.4887 GB, free: 5.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.1058, allocations: 12 kB / 0.4887 GB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.1062, allocations: 222.6 kB / 0.4889 GB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.1067, allocations: 325.8 kB / 0.4892 GB, free: 4.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.1085, allocations: 1.288 MB / 0.4905 GB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006137/0.1091, allocations: 0.6842 MB / 0.4912 GB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1094, allocations: 173.6 kB / 0.4913 GB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1096, allocations: 302.8 kB / 0.4916 GB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.1099, allocations: 362.5 kB / 0.492 GB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.11, allocations: 60 kB / 0.492 GB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.1104, allocations: 303.8 kB / 0.4923 GB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.1105, allocations: 143.4 kB / 0.4924 GB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1107, allocations: 342.2 kB / 0.4928 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.1115, allocations: 0.8756 MB / 0.4936 GB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1115, allocations: 0 / 0.4936 GB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1115, allocations: 0 / 0.4936 GB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1115, allocations: 4 kB / 0.4936 GB, free: 15.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.008114/0.1196, allocations: 1.937 MB / 0.4955 GB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/0.1197, allocations: 8.031 kB / 0.4955 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.857e-05/0.1197, allocations: 17.19 kB / 0.4955 GB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.1199, allocations: 90.7 kB / 0.4956 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.1201, allocations: 80.47 kB / 0.4957 GB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.1209, allocations: 438.2 kB / 0.4961 GB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.121, allocations: 41.38 kB / 0.4962 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1211, allocations: 60.38 kB / 0.4962 GB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1225, allocations: 0.757 MB / 0.497 GB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1225, allocations: 3.938 kB / 0.497 GB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/0.1226, allocations: 27.98 kB / 0.497 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.517e-05/0.1227, allocations: 12 kB / 0.497 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.1238, allocations: 0.6794 MB / 0.4977 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.1279, allocations: 2.328 MB / 0.4999 GB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.1296, allocations: 1.225 MB / 0.5011 GB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.1303, allocations: 402.7 kB / 0.5015 GB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1304, allocations: 12.64 kB / 0.5015 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.1304, allocations: 51.2 kB / 0.5016 GB, free: 7.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.966e-06/0.1304, allocations: 0 / 0.5016 GB, free: 7.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.0151/0.1455, allocations: 3.405 MB / 0.5049 GB, free: 4.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.1456, allocations: 111.5 kB / 0.505 GB, free: 3.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.1463, allocations: 389.4 kB / 0.5054 GB, free: 3.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.1464, allocations: 45.7 kB / 0.5054 GB, free: 3.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.1466, allocations: 233.4 kB / 0.5056 GB, free: 3.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.1469, allocations: 257.7 kB / 0.5059 GB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.1473, allocations: 162.6 kB / 0.5061 GB, free: 2.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1475, allocations: 358.8 kB / 0.5064 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007375/0.1482, allocations: 445.8 kB / 0.5068 GB, free: 2.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.149, allocations: 0.5053 MB / 0.5073 GB, free: 1.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.1506, allocations: 0.99 MB / 0.5083 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1506, allocations: 0 / 0.5083 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005789/0.1564, allocations: 1.933 MB / 0.5102 GB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.1564, allocations: 8 kB / 0.5102 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1564, allocations: 0 / 0.5102 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006179/0.1626, allocations: 1.456 MB / 0.5116 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.1632, allocations: 127.8 kB / 0.5117 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.176, allocations: 5.958 MB / 0.5175 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008148/0.1768, allocations: 87.39 kB / 0.5176 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.1768, allocations: 27.98 kB / 0.5176 GB, free: 6.766 MB / 382.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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.1772, allocations: 193.7 kB / 0.5178 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.1774, allocations: 55.67 kB / 0.5179 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/0.1832, allocations: 1.869 MB / 0.5197 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.1832, allocations: 8 kB / 0.5197 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1832, allocations: 3.938 kB / 0.5197 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.1832, allocations: 7.984 kB / 0.5197 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006843/0.1901, allocations: 2.725 MB / 0.5224 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.1901, allocations: 0 / 0.5224 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.1905, allocations: 95.83 kB / 0.5225 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005949/0.1964, allocations: 1.281 MB / 0.5237 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.1965, allocations: 19.98 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/0.2088, allocations: 5.874 MB / 0.5295 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2088, allocations: 0 / 0.5295 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/0.2145, allocations: 1.867 MB / 0.5313 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.2147, allocations: 144.6 kB / 0.5314 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.2148, allocations: 19.98 kB / 0.5315 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.2153, allocations: 47.91 kB / 0.5315 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.2156, allocations: 64.91 kB / 0.5316 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.2156, allocations: 20 kB / 0.5316 GB, free: 8.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003613/0.216, allocations: 255.2 kB / 0.5318 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.216, allocations: 0 / 0.5318 GB, free: 7.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001009/0.217, allocations: 295.8 kB / 0.5321 GB, free: 7.668 MB / 398.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 (55): * Single equations (assignments): 54 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005889/0.2229, allocations: 2.43 MB / 0.5345 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004362/0.2273, allocations: 1.546 MB / 0.536 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.2273, allocations: 3.859 kB / 0.536 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003077/0.2303, allocations: 1.027 MB / 0.537 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.231, allocations: 69.55 kB / 0.5371 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.2486, allocations: 7.62 MB / 0.5445 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.2492, allocations: 0.8886 MB / 0.5454 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.2495, allocations: 84.34 kB / 0.5455 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.2499, allocations: 215.3 kB / 0.5457 GB, free: 9.621 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2499, allocations: 3.938 kB / 0.5457 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08246/0.3323, allocations: 23.41 MB / 0.5685 GB, free: 2.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.55, allocations: 14.86 kB / 0.5685 GB, free: 2.414 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.523807537043467] Failed to read output from testmodel.py, exit status != 0: 13.708618962031323 13.738094118 13.621070925 Calling exit ...