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.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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 108.5 kB / 16.57 MB, free: 6.723 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.001723/0.001723, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.358/1.358, allocations: 222.9 MB / 241.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04475/0.04475, allocations: 8.095 MB / 299.4 MB, free: 6.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.91 kB / 361.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1888, allocations: 51.52 MB / 413.2 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002503/0.1914, allocations: 2.116 MB / 415.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1929, allocations: 1.52 MB / 416.9 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.193, allocations: 11.94 kB / 416.9 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.1934, allocations: 127.5 kB / 417 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1937, allocations: 135.3 kB / 417.1 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1951, allocations: 1.043 MB / 418.2 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.1954, allocations: 306.4 kB / 418.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1955, allocations: 97.78 kB / 418.6 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.1956, allocations: 119.6 kB / 418.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1958, allocations: 155.2 kB / 418.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.1958, allocations: 16 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.1962, allocations: 239.8 kB / 419.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.1962, allocations: 55.77 kB / 419.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1963, allocations: 143.3 kB / 419.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1966, allocations: 355.1 kB / 419.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1967, allocations: 4 kB / 419.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1967, allocations: 0 / 419.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1967, allocations: 7.938 kB / 419.6 MB, free: 19.36 MB / 302.1 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.003702/0.2004, allocations: 1.134 MB / 420.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2004, allocations: 15.97 kB / 420.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.2005, allocations: 32.56 kB / 420.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2008, allocations: 283.7 kB / 421.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2008, allocations: 20.94 kB / 421.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2008, allocations: 24.38 kB / 421.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2014, allocations: 385 kB / 421.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2014, allocations: 192 / 421.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.2014, allocations: 15.94 kB / 421.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2014, allocations: 4 kB / 421.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.2018, allocations: 310.1 kB / 421.8 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2035, allocations: 1.454 MB / 423.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.2044, allocations: 410.6 kB / 423.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.2047, allocations: 184.8 kB / 423.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.105e-05/0.2047, allocations: 7.984 kB / 423.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2047, allocations: 38.5 kB / 423.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.2048, allocations: 0 / 423.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003941/0.2087, allocations: 1.256 MB / 425.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2088, allocations: 106.8 kB / 425.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2089, allocations: 220.1 kB / 425.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.209, allocations: 33.7 kB / 425.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.2091, allocations: 164.4 kB / 425.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.2091, allocations: 94.56 kB / 425.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.2093, allocations: 86.11 kB / 425.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.2093, allocations: 338.8 kB / 426.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.2096, allocations: 208.8 kB / 426.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.2099, allocations: 252.2 kB / 426.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.2105, allocations: 461.1 kB / 427.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2105, allocations: 3.938 kB / 427.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001979/0.2125, allocations: 0.8447 MB / 427.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2125, allocations: 8 kB / 427.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2125, allocations: 0 / 427.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.2146, allocations: 449.2 kB / 428.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2148, allocations: 71.89 kB / 428.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.219, allocations: 3.827 MB / 432.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.2194, allocations: 39.58 kB / 432.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.2194, allocations: 12 kB / 432.3 MB, free: 5.965 MB / 302.1 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.0001568/0.2196, allocations: 158 kB / 432.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.2197, allocations: 23.7 kB / 432.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.2217, allocations: 0.7822 MB / 433.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2217, allocations: 4 kB / 433.3 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2217, allocations: 7.938 kB / 433.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2217, allocations: 0 / 433.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.2221, allocations: 433.1 kB / 433.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2221, allocations: 3.984 kB / 433.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2222, allocations: 43.92 kB / 433.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.2242, allocations: 445.4 kB / 434.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2243, allocations: 8 kB / 434.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.2282, allocations: 3.823 MB / 438 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2283, allocations: 7.969 kB / 438 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.2304, allocations: 0.813 MB / 438.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.2305, allocations: 108.8 kB / 439 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.2305, allocations: 4 kB / 439 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2308, allocations: 16 kB / 439 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.2309, allocations: 31.95 kB / 439 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2309, allocations: 4 kB / 439 MB, free: 14.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.2311, allocations: 160.5 kB / 439.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2311, allocations: 7.938 kB / 439.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.2316, allocations: 131.8 kB / 439.3 MB, free: 14.6 MB / 318.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 (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.0002121/0.2318, allocations: 123.2 kB / 439.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.2336, allocations: 0.8082 MB / 440.2 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2337, allocations: 4.062 kB / 440.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.235, allocations: 0.5518 MB / 440.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2353, allocations: 30.53 kB / 440.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2365, allocations: 0.7293 MB / 441.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2368, allocations: 0.7688 MB / 442.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.2368, allocations: 31.42 kB / 442.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2369, allocations: 4 kB / 442.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Templates: time 0.008329/0.2452, allocations: 6.774 MB / 449.1 MB, free: 4.66 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)