Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.0007563/0.0007563, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.0008205/0.0008205, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9175/0.9175, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02625/0.02625, allocations: 4.468 MB / 264.5 MB, free: 8.758 MB / 250.7 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.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.497e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003118/0.003143, allocations: 1.872 MB / 391.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.005318, allocations: 1.516 MB / 393 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.005439, allocations: 4 kB / 393 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.005783, allocations: 139.1 kB / 393.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.006104, allocations: 162.8 kB / 393.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.007163, allocations: 0.98 MB / 394.3 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.007538, allocations: 314.4 kB / 394.6 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.007702, allocations: 68.69 kB / 394.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.00787, allocations: 183.6 kB / 394.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.00798, allocations: 111.6 kB / 394.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.008008, allocations: 28 kB / 395 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.008399, allocations: 247.5 kB / 395.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.008443, allocations: 63.75 kB / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.008518, allocations: 99.75 kB / 395.4 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.009012, allocations: 0.5102 MB / 395.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009016, allocations: 4 kB / 395.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.009017, allocations: 0 / 395.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.009023, allocations: 0 / 395.9 MB, free: 1.098 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002191/0.01121, allocations: 1.074 MB / 397 MB, free: 15.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01126, allocations: 12.03 kB / 397 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.307e-05/0.01135, allocations: 67.06 kB / 397 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.01141, allocations: 32.75 kB / 397.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.01165, allocations: 225.2 kB / 397.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.01167, allocations: 20.88 kB / 397.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.01172, allocations: 32.38 kB / 397.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.01221, allocations: 0.5084 MB / 397.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01222, allocations: 192 / 397.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.01224, allocations: 16.31 kB / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01225, allocations: 12.12 kB / 397.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.01259, allocations: 317.9 kB / 398.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01378, allocations: 0.9076 MB / 399.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.01438, allocations: 358.7 kB / 399.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.01456, allocations: 160.8 kB / 399.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.01461, allocations: 16 kB / 399.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.01463, allocations: 34.55 kB / 399.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.01463, allocations: 0 / 399.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.002141/0.01677, allocations: 1.092 MB / 400.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.01682, allocations: 114.8 kB / 400.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.01697, allocations: 224 kB / 401.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.017, allocations: 37.64 kB / 401.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.01708, allocations: 164.6 kB / 401.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.01715, allocations: 99.12 kB / 401.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.01724, allocations: 86.12 kB / 401.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.01734, allocations: 330.8 kB / 401.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.01756, allocations: 216.9 kB / 402 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.01786, allocations: 304.3 kB / 402.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.01835, allocations: 478 kB / 402.8 MB, free: 9.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.01835, allocations: 4.031 kB / 402.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001422/0.01977, allocations: 0.8384 MB / 403.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01979, allocations: 7.984 kB / 403.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.0198, allocations: 4 kB / 403.6 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.02088, allocations: 441.2 kB / 404 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.02104, allocations: 67.91 kB / 404.1 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.02418, allocations: 3.884 MB / 408 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.02433, allocations: 47.59 kB / 408 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.02436, allocations: 12 kB / 408 MB, free: 4.395 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.02449, allocations: 153.9 kB / 408.2 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.02453, allocations: 23.86 kB / 408.2 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.02574, allocations: 0.7829 MB / 409 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02574, allocations: 4 kB / 409 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.02574, allocations: 4 kB / 409 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.02575, allocations: 4 kB / 409 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.02601, allocations: 332.5 kB / 409.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02601, allocations: 3.938 kB / 409.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.0261, allocations: 39.92 kB / 409.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009876/0.02708, allocations: 445.2 kB / 409.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.02711, allocations: 11.98 kB / 409.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1703/0.1974, allocations: 3.859 MB / 413.7 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1974, allocations: 4.453 kB / 413.7 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1987, allocations: 0.8111 MB / 414.5 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1988, allocations: 29.97 kB / 414.5 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.1988, allocations: 7.047 kB / 414.5 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1989, allocations: 21.78 kB / 414.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.199, allocations: 28.75 kB / 414.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.199, allocations: 11.27 kB / 414.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1991, allocations: 157.5 kB / 414.8 MB, free: 31.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1991, allocations: 0.9375 kB / 414.8 MB, free: 31.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.1995, allocations: 131.1 kB / 414.9 MB, free: 31.58 MB / 330.7 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/0.2014, allocations: 1.617 MB / 416.5 MB, free: 30.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.2028, allocations: 0.7795 MB / 417.3 MB, free: 30.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2028, allocations: 0 / 417.3 MB, free: 30.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.2035, allocations: 0.5434 MB / 417.8 MB, free: 30 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.2037, allocations: 29.08 kB / 417.9 MB, free: 29.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.2083, allocations: 3.856 MB / 421.7 MB, free: 27.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2084, allocations: 161.1 kB / 421.9 MB, free: 27.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.2085, allocations: 36.77 kB / 421.9 MB, free: 27.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2086, allocations: 97.25 kB / 422 MB, free: 27.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2086, allocations: 1.594 kB / 422 MB, free: 27.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.2367, allocations: 10.71 MB / 432.7 MB, free: 23.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.388, allocations: 18.38 kB / 432.7 MB, free: 23.86 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.14269208908081] Failed to read output from testmodel.py, exit status != 0: 7.474972678348422 7.483675118 7.473211457 Calling exit ...