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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 87.91 kB / 16.71 MB, free: 6.629 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.001399/0.001399, allocations: 177.1 kB / 17.62 MB, free: 6.156 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.377/1.377, allocations: 223.3 MB / 241.7 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04215/0.04215, allocations: 8.105 MB / 300.9 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 11.98 kB / 364.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2008, allocations: 52.51 MB / 416.7 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.001805/0.2026, allocations: 2.111 MB / 418.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.204, allocations: 1.466 MB / 420.2 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.2041, allocations: 7.938 kB / 420.2 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.2045, allocations: 143.4 kB / 420.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.2048, allocations: 171 kB / 420.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.206, allocations: 0.8871 MB / 421.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.2064, allocations: 402 kB / 421.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2066, allocations: 126.4 kB / 422 MB, free: 19.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2067, allocations: 155.3 kB / 422.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2069, allocations: 203.1 kB / 422.3 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.207, allocations: 20 kB / 422.3 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.2072, allocations: 183.8 kB / 422.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.2073, allocations: 71.67 kB / 422.6 MB, free: 18.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2074, allocations: 212.6 kB / 422.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2077, allocations: 391 kB / 423.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2078, allocations: 7.875 kB / 423.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2078, allocations: 0 / 423.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2078, allocations: 0 / 423.2 MB, free: 18.28 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003258/0.211, allocations: 1.076 MB / 424.2 MB, free: 17.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2111, allocations: 11.97 kB / 424.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.2112, allocations: 44.47 kB / 424.3 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.2115, allocations: 331.4 kB / 424.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2115, allocations: 24.94 kB / 424.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.2116, allocations: 32.31 kB / 424.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.2121, allocations: 413.3 kB / 425.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2122, allocations: 192 / 425.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.2122, allocations: 23.94 kB / 425.1 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2122, allocations: 8 kB / 425.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.2127, allocations: 390.1 kB / 425.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.2144, allocations: 1.494 MB / 427 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.2153, allocations: 495.1 kB / 427.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2156, allocations: 248.8 kB / 427.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.2157, allocations: 15.92 kB / 427.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.2157, allocations: 38.56 kB / 427.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.2157, allocations: 0 / 427.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.004184/0.2199, allocations: 1.498 MB / 429.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.22, allocations: 59.41 kB / 429.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.2202, allocations: 270.6 kB / 429.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.2203, allocations: 37.7 kB / 429.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.2203, allocations: 168.8 kB / 429.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.2204, allocations: 149.8 kB / 429.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.2205, allocations: 41.7 kB / 430 MB, free: 11.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.2206, allocations: 350.7 kB / 430.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.2208, allocations: 213 kB / 430.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.2211, allocations: 217 kB / 430.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.2217, allocations: 495.4 kB / 431.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2217, allocations: 4 kB / 431.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001977/0.2237, allocations: 0.8871 MB / 432.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2238, allocations: 7.984 kB / 432.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2238, allocations: 4 kB / 432.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.2255, allocations: 386.1 kB / 432.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2257, allocations: 67.89 kB / 432.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.2309, allocations: 5.482 MB / 438.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.2312, allocations: 35.67 kB / 438.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.2313, allocations: 23.92 kB / 438.1 MB, free: 2.551 MB / 302.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.0001663/0.2314, allocations: 157.8 kB / 438.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.2315, allocations: 35.53 kB / 438.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.2336, allocations: 0.9118 MB / 439.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2336, allocations: 4 kB / 439.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2337, allocations: 3.938 kB / 439.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2337, allocations: 3.984 kB / 439.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.2341, allocations: 0.5247 MB / 439.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2341, allocations: 0 / 439.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2343, allocations: 51.92 kB / 439.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.236, allocations: 390.1 kB / 440.2 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.2361, allocations: 15.98 kB / 440.2 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005812/0.2419, allocations: 5.413 MB / 445.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2419, allocations: 0 / 445.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2441, allocations: 0.947 MB / 446.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.2442, allocations: 112.5 kB / 446.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.2443, allocations: 12 kB / 446.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.2446, allocations: 31.97 kB / 446.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2447, allocations: 40.33 kB / 446.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.2448, allocations: 23.92 kB / 446.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.245, allocations: 190 kB / 447 MB, free: 9.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.245, allocations: 0 / 447 MB, free: 9.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005872/0.2456, allocations: 163.8 kB / 447.1 MB, free: 9.012 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 (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.0002049/0.2458, allocations: 123.2 kB / 447.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.2476, allocations: 0.9859 MB / 448.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2476, allocations: 0 / 448.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.2489, allocations: 0.7288 MB / 449 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2494, allocations: 48.42 kB / 449 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2506, allocations: 0.9056 MB / 449.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2509, allocations: 0.8013 MB / 450.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.251, allocations: 39.44 kB / 450.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.251, allocations: 0 / 450.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Templates: time 0.01166/0.2627, allocations: 9.754 MB / 460.5 MB, free: 11.5 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)