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.001264/0.001264, allocations: 112.5 kB / 17.09 MB, free: 6.004 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.001435/0.001435, allocations: 195 kB / 18.02 MB, free: 5.086 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.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04646/0.04646, allocations: 8.088 MB / 300 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 67.88 kB / 363.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2042, allocations: 51.52 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002698/0.207, allocations: 2.459 MB / 417.2 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2084, allocations: 1.493 MB / 418.7 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2085, allocations: 8 kB / 418.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.2089, allocations: 159 kB / 418.8 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.2093, allocations: 186.8 kB / 419 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2107, allocations: 0.9413 MB / 419.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.2111, allocations: 429.9 kB / 420.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.2113, allocations: 144.2 kB / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2114, allocations: 179.3 kB / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.2117, allocations: 227.1 kB / 420.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.2117, allocations: 36 kB / 420.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.212, allocations: 199.8 kB / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.2121, allocations: 91.61 kB / 421.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2122, allocations: 198.9 kB / 421.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.2126, allocations: 0.5468 MB / 422 MB, free: 18.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2126, allocations: 4 kB / 422 MB, free: 18.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2126, allocations: 0 / 422 MB, free: 18.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2127, allocations: 0 / 422 MB, free: 18.15 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.00316/0.2158, allocations: 1.138 MB / 423.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2159, allocations: 15.89 kB / 423.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.2159, allocations: 44.45 kB / 423.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.2163, allocations: 331.4 kB / 423.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2163, allocations: 24.92 kB / 423.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.2163, allocations: 40.38 kB / 423.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2168, allocations: 409.3 kB / 423.9 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2169, allocations: 192 / 423.9 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.2169, allocations: 19.94 kB / 424 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2169, allocations: 4 kB / 424 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.2174, allocations: 390.1 kB / 424.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.219, allocations: 1.479 MB / 425.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.2199, allocations: 496.7 kB / 426.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.2202, allocations: 252.8 kB / 426.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.558e-05/0.2202, allocations: 12 kB / 426.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2203, allocations: 34.56 kB / 426.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.873e-06/0.2203, allocations: 0 / 426.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003947/0.2242, allocations: 1.518 MB / 428.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2243, allocations: 59.41 kB / 428.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2245, allocations: 258.7 kB / 428.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.2245, allocations: 37.7 kB / 428.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.2246, allocations: 168.8 kB / 428.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.2247, allocations: 149.8 kB / 428.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2248, allocations: 86.23 kB / 428.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.2249, allocations: 350.7 kB / 429.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.2251, allocations: 213.1 kB / 429.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.2254, allocations: 221 kB / 429.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.226, allocations: 499.4 kB / 430.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.226, allocations: 0 / 430.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001874/0.2279, allocations: 0.8871 MB / 431 MB, free: 8.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2279, allocations: 4 kB / 431 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2279, allocations: 4 kB / 431 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.2296, allocations: 394.1 kB / 431.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2299, allocations: 59.91 kB / 431.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.2349, allocations: 5.927 MB / 437.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.2353, allocations: 39.53 kB / 437.4 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.2353, allocations: 16 kB / 437.4 MB, free: 1.859 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.0001646/0.2355, allocations: 157.7 kB / 437.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.2356, allocations: 39.61 kB / 437.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.2375, allocations: 0.9117 MB / 438.5 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2376, allocations: 7.984 kB / 438.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.2376, allocations: 0 / 438.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2376, allocations: 0 / 438.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.238, allocations: 0.5325 MB / 439.1 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.238, allocations: 0 / 439.1 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2382, allocations: 59.91 kB / 439.1 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.2399, allocations: 386.1 kB / 439.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.24, allocations: 16 kB / 439.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.2462, allocations: 5.854 MB / 445.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2463, allocations: 0 / 445.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.2485, allocations: 0.9314 MB / 446.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2486, allocations: 120.5 kB / 446.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.2486, allocations: 7.938 kB / 446.4 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.249, allocations: 31.97 kB / 446.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2491, allocations: 36.39 kB / 446.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.2491, allocations: 19.98 kB / 446.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.2493, allocations: 190 kB / 446.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2494, allocations: 0 / 446.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005771/0.2499, allocations: 167.8 kB / 446.9 MB, free: 7.863 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.0001977/0.2501, allocations: 127.4 kB / 447 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.252, allocations: 0.9975 MB / 448 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.252, allocations: 0 / 448 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.2533, allocations: 0.7405 MB / 448.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.2538, allocations: 55.91 kB / 448.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.255, allocations: 0.7103 MB / 449.5 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.2554, allocations: 0.8052 MB / 450.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.2556, allocations: 42.94 kB / 450.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.2557, allocations: 35.42 kB / 450.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2557, allocations: 0 / 450.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of Templates: time 0.01537/0.2711, allocations: 10.18 MB / 460.6 MB, free: 10.11 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)