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.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.001226/0.001226, allocations: 117.8 kB / 17.88 MB, free: 5.07 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.001399/0.001399, allocations: 213.6 kB / 20.84 MB, free: 2.125 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.499/1.499, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.03892/0.03892, allocations: 6.141 MB / 316.4 MB, free: 1.156 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.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 53.58 kB / 440 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 54.98 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003592/0.106, allocations: 2.413 MB / 497.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1084, allocations: 1.52 MB / 498.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1085, allocations: 8 kB / 498.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.1089, allocations: 171 kB / 499 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1093, allocations: 170.8 kB / 499.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1106, allocations: 0.9376 MB / 0.4884 GB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.1111, allocations: 425.9 kB / 0.4888 GB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1113, allocations: 92.23 kB / 0.4889 GB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1115, allocations: 179.3 kB / 0.4891 GB, free: 4.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1117, allocations: 219.1 kB / 0.4893 GB, free: 4.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.1118, allocations: 39.98 kB / 0.4893 GB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.1121, allocations: 195.8 kB / 0.4895 GB, free: 4.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.1122, allocations: 87.69 kB / 0.4896 GB, free: 4.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1123, allocations: 202.9 kB / 0.4898 GB, free: 3.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.1129, allocations: 0.5332 MB / 0.4903 GB, free: 3.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1129, allocations: 0 / 0.4903 GB, free: 3.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1129, allocations: 0 / 0.4903 GB, free: 3.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1129, allocations: 0 / 0.4903 GB, free: 3.32 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.003523/0.1164, allocations: 1.145 MB / 0.4914 GB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1165, allocations: 12.03 kB / 0.4914 GB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.894e-05/0.1165, allocations: 8.844 kB / 0.4915 GB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.294e-05/0.1166, allocations: 71.38 kB / 0.4915 GB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.1167, allocations: 44.66 kB / 0.4916 GB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1171, allocations: 339.5 kB / 0.4919 GB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1171, allocations: 25.03 kB / 0.4919 GB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.1171, allocations: 40.36 kB / 0.492 GB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.1177, allocations: 422.3 kB / 0.4924 GB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1177, allocations: 0 / 0.4924 GB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1178, allocations: 16 kB / 0.4924 GB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1178, allocations: 8 kB / 0.4924 GB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1183, allocations: 406.4 kB / 0.4928 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1205, allocations: 1.531 MB / 0.4943 GB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.1217, allocations: 468.9 kB / 0.4947 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.1221, allocations: 234 kB / 0.4949 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/0.1222, allocations: 12.42 kB / 0.4949 GB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.1223, allocations: 50.92 kB / 0.495 GB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.1223, allocations: 0 / 0.495 GB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.00864/0.1309, allocations: 2.83 MB / 0.4978 GB, free: 11.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.131, allocations: 59.91 kB / 0.4978 GB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1313, allocations: 254.6 kB / 0.4981 GB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.1314, allocations: 45.7 kB / 0.4981 GB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1316, allocations: 169.7 kB / 0.4983 GB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.1318, allocations: 237.9 kB / 0.4985 GB, free: 10.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.132, allocations: 114.3 kB / 0.4986 GB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1322, allocations: 346.8 kB / 0.4989 GB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.1327, allocations: 337.2 kB / 0.4992 GB, free: 9.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.1333, allocations: 341.8 kB / 0.4996 GB, free: 9.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.1345, allocations: 0.7512 MB / 0.5003 GB, free: 8.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1345, allocations: 4 kB / 0.5003 GB, free: 8.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00414/0.1387, allocations: 1.462 MB / 0.5017 GB, free: 7.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1387, allocations: 11.94 kB / 0.5018 GB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1387, allocations: 4 kB / 0.5018 GB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/0.1422, allocations: 0.7347 MB / 0.5025 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.1425, allocations: 83.83 kB / 0.5026 GB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.1571, allocations: 11.92 MB / 0.5142 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.1576, allocations: 16.03 kB / 0.5142 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.1576, allocations: 20 kB / 0.5142 GB, free: 9.59 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 (50): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.1579, allocations: 178.2 kB / 0.5144 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.158, allocations: 43.77 kB / 0.5144 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/0.1622, allocations: 1.501 MB / 0.5159 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.1622, allocations: 12 kB / 0.5159 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1622, allocations: 4 kB / 0.5159 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1622, allocations: 3.984 kB / 0.5159 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.1674, allocations: 2.367 MB / 0.5182 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1674, allocations: 4 kB / 0.5182 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.1676, allocations: 67.91 kB / 0.5183 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/0.1709, allocations: 0.7269 MB / 0.519 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.171, allocations: 15.98 kB / 0.519 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.1855, allocations: 11.88 MB / 0.5306 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1855, allocations: 0 / 0.5306 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.1895, allocations: 1.515 MB / 0.5321 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.1896, allocations: 112.8 kB / 0.5322 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.1897, allocations: 16 kB / 0.5322 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.1902, allocations: 31.97 kB / 0.5323 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.1904, allocations: 60.58 kB / 0.5323 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.1905, allocations: 19.94 kB / 0.5323 GB, free: 6.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.1907, allocations: 186 kB / 0.5325 GB, free: 5.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1907, allocations: 0 / 0.5325 GB, free: 5.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008556/0.1916, allocations: 216 kB / 0.5327 GB, free: 5.609 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 (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * 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.005134/0.1967, allocations: 2.589 MB / 0.5352 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.2, allocations: 1.661 MB / 0.5369 GB, free: 1.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2, allocations: 0 / 0.5369 GB, free: 1.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.2024, allocations: 1.277 MB / 0.5381 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.2029, allocations: 52.48 kB / 0.5382 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.2153, allocations: 6.062 MB / 0.5441 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.2159, allocations: 0.8338 MB / 0.5449 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.2161, allocations: 55.27 kB / 0.545 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.2163, allocations: 139.4 kB / 0.5451 GB, free: 8.609 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2163, allocations: 0 / 0.5451 GB, free: 8.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/0.2728, allocations: 19.62 MB / 0.5642 GB, free: 5.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/13.95, allocations: 3.984 kB / 0.5642 GB, free: 5.211 MB / 430.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.812551394978072] Failed to read output from testmodel.py, exit status != 0: 14.11200377397472 14.137651553 14.020013407 Calling exit ...