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.001657/0.001657, allocations: 104.2 kB / 16.98 MB, free: 6.18 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.001871/0.001871, allocations: 187.3 kB / 17.91 MB, free: 5.281 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.501/1.501, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04963/0.04963, allocations: 8.096 MB / 299.9 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.91 kB / 362.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 51.51 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002699/0.2321, allocations: 2.093 MB / 416 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2338, allocations: 1.531 MB / 417.5 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.234, allocations: 4 kB / 417.5 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.2344, allocations: 139.2 kB / 417.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.2347, allocations: 170.9 kB / 417.8 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2362, allocations: 1.062 MB / 418.9 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.2366, allocations: 302.6 kB / 419.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2368, allocations: 118.1 kB / 419.3 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.2369, allocations: 131.4 kB / 419.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.237, allocations: 159.4 kB / 419.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2371, allocations: 24 kB / 419.6 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.2374, allocations: 251.8 kB / 419.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.2375, allocations: 59.75 kB / 419.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2376, allocations: 159.2 kB / 420.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.2381, allocations: 478.6 kB / 420.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2381, allocations: 3.938 kB / 420.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2381, allocations: 0 / 420.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2381, allocations: 0 / 420.6 MB, free: 18.92 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.003846/0.242, allocations: 1.131 MB / 421.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.242, allocations: 8.031 kB / 421.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.178e-05/0.2421, allocations: 32.56 kB / 421.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.2424, allocations: 291.6 kB / 422 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2424, allocations: 28.94 kB / 422 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2425, allocations: 28.38 kB / 422.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.243, allocations: 369.1 kB / 422.4 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.243, allocations: 192 / 422.4 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.243, allocations: 15.92 kB / 422.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2431, allocations: 11.98 kB / 422.5 MB, free: 16.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.2435, allocations: 314.1 kB / 422.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.2452, allocations: 1.45 MB / 424.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.2461, allocations: 424.1 kB / 424.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.2463, allocations: 176.8 kB / 424.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.2464, allocations: 7.984 kB / 424.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2464, allocations: 38.56 kB / 424.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.2464, allocations: 0 / 424.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003859/0.2503, allocations: 1.259 MB / 426.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.2504, allocations: 106.8 kB / 426.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2505, allocations: 224.1 kB / 426.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2506, allocations: 37.7 kB / 426.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.2507, allocations: 156.4 kB / 426.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.2507, allocations: 98.55 kB / 426.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2509, allocations: 86.11 kB / 426.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.2509, allocations: 334.8 kB / 427.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.2512, allocations: 200.8 kB / 427.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.2515, allocations: 252.2 kB / 427.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.252, allocations: 469.1 kB / 428 MB, free: 11.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.252, allocations: 0 / 428 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001994/0.254, allocations: 0.8446 MB / 428.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2541, allocations: 6.188 kB / 428.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2541, allocations: 0 / 428.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.2562, allocations: 449.2 kB / 429.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.2565, allocations: 67.91 kB / 429.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.2609, allocations: 4.141 MB / 433.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.2613, allocations: 39.62 kB / 433.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.2613, allocations: 19.98 kB / 433.6 MB, free: 5.184 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.000177/0.2615, allocations: 149.8 kB / 433.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.2616, allocations: 27.72 kB / 433.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.2636, allocations: 0.786 MB / 434.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2636, allocations: 8 kB / 434.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2636, allocations: 3.984 kB / 434.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2636, allocations: 0 / 434.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.264, allocations: 441.1 kB / 435 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.264, allocations: 3.938 kB / 435 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2642, allocations: 35.98 kB / 435 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/0.2661, allocations: 449.1 kB / 435.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.2662, allocations: 8 kB / 435.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/0.2707, allocations: 4.13 MB / 439.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2707, allocations: 0 / 439.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.2734, allocations: 0.8087 MB / 440.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.2736, allocations: 104.8 kB / 440.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.2737, allocations: 12 kB / 440.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.274, allocations: 19.7 kB / 440.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2741, allocations: 31.89 kB / 440.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.2741, allocations: 12 kB / 440.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.2743, allocations: 156.5 kB / 440.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2743, allocations: 0 / 440.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000594/0.2749, allocations: 135.8 kB / 440.9 MB, free: 13.5 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.0002425/0.2751, allocations: 123.2 kB / 441 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.2772, allocations: 0.8281 MB / 441.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2772, allocations: 0 / 441.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.2786, allocations: 0.5481 MB / 442.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.279, allocations: 28.61 kB / 442.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2804, allocations: 0.6291 MB / 443 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.2808, allocations: 0.7649 MB / 443.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.2809, allocations: 31.42 kB / 443.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2809, allocations: 4 kB / 443.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Templates: time 0.00953/0.2904, allocations: 6.788 MB / 450.6 MB, free: 3.641 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)