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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.005119/0.005119, allocations: 89.23 kB / 15.91 MB, free: 6.309 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.001096/0.001096, allocations: 199.4 kB / 16.83 MB, free: 6.238 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.206/1.206, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1555/0.1555, allocations: 8.081 MB / 298.7 MB, free: 2.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 52.09 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08639, allocations: 51.53 MB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002986/0.08942, allocations: 2.137 MB / 414.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.09101, allocations: 1.516 MB / 416.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.09109, allocations: 8 kB / 416.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.0914, allocations: 123.5 kB / 416.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.09167, allocations: 143.2 kB / 416.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.0932, allocations: 1.051 MB / 417.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.09348, allocations: 294.6 kB / 417.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.09364, allocations: 100.1 kB / 417.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.09374, allocations: 127.4 kB / 418 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.09388, allocations: 151.3 kB / 418.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.09392, allocations: 20 kB / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.09426, allocations: 235.8 kB / 418.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.09431, allocations: 51.77 kB / 418.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.09443, allocations: 147.2 kB / 418.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.09487, allocations: 486.6 kB / 419.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09488, allocations: 3.938 kB / 419.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09489, allocations: 4 kB / 419.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.0949, allocations: 0 / 419.1 MB, free: 3.582 MB / 350.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.003604/0.09851, allocations: 1.127 MB / 420.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.09854, allocations: 8.031 kB / 420.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.09863, allocations: 32.56 kB / 420.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.09888, allocations: 275.9 kB / 420.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.09891, allocations: 28.88 kB / 420.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.09896, allocations: 28.38 kB / 420.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.0995, allocations: 381 kB / 421 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.09951, allocations: 192 / 421 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.09955, allocations: 7.938 kB / 421 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.09956, allocations: 8 kB / 421 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.1, allocations: 314.1 kB / 421.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.1019, allocations: 1.447 MB / 422.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.1029, allocations: 410.5 kB / 423.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1032, allocations: 181.3 kB / 423.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.1032, allocations: 11.91 kB / 423.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1032, allocations: 38.56 kB / 423.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.303e-06/0.1033, allocations: 0 / 423.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004084/0.1073, allocations: 1.255 MB / 424.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.1074, allocations: 106.8 kB / 424.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1076, allocations: 224.1 kB / 424.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.1077, allocations: 37.7 kB / 425 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.1078, allocations: 156.4 kB / 425.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.1078, allocations: 102.5 kB / 425.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.108, allocations: 86.11 kB / 425.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1081, allocations: 334.8 kB / 425.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.1084, allocations: 200.8 kB / 425.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.1087, allocations: 256.2 kB / 426.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.1094, allocations: 469 kB / 426.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1094, allocations: 0 / 426.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002142/0.1116, allocations: 0.8447 MB / 427.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1116, allocations: 8 kB / 427.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1116, allocations: 0 / 427.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.1137, allocations: 441.2 kB / 427.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.114, allocations: 75.89 kB / 427.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/0.1185, allocations: 3.834 MB / 431.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1188, allocations: 47.55 kB / 431.8 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.1188, allocations: 16 kB / 431.8 MB, free: 6.184 MB / 366.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.0001403/0.119, allocations: 145.8 kB / 431.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.119, allocations: 23.72 kB / 432 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.1212, allocations: 0.7902 MB / 432.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1212, allocations: 4 kB / 432.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1212, allocations: 3.938 kB / 432.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1212, allocations: 3.984 kB / 432.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.1216, allocations: 445.1 kB / 433.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1216, allocations: 0 / 433.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1218, allocations: 43.92 kB / 433.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.1238, allocations: 445.1 kB / 433.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.1239, allocations: 8 kB / 433.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004703/0.1286, allocations: 3.823 MB / 437.5 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1286, allocations: 480 / 437.5 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1424/0.271, allocations: 0.8098 MB / 438.3 MB, free: 57.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.2711, allocations: 109.2 kB / 438.4 MB, free: 57.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.2712, allocations: 10.05 kB / 438.4 MB, free: 57.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.2714, allocations: 13.41 kB / 438.5 MB, free: 57.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.2715, allocations: 24.89 kB / 438.5 MB, free: 57.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.2716, allocations: 12.16 kB / 438.5 MB, free: 57.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2717, allocations: 164 kB / 438.6 MB, free: 57.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2717, allocations: 1.938 kB / 438.7 MB, free: 57.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.2722, allocations: 128.2 kB / 438.8 MB, free: 57.41 MB / 366.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.0001582/0.2724, allocations: 119.5 kB / 438.9 MB, free: 57.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.274, allocations: 0.816 MB / 439.7 MB, free: 57.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.274, allocations: 0 / 439.7 MB, free: 57.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.2752, allocations: 0.5519 MB / 440.3 MB, free: 56.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.2755, allocations: 22.33 kB / 440.3 MB, free: 56.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.2764, allocations: 0.7029 MB / 441 MB, free: 56.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2766, allocations: 0.7663 MB / 441.8 MB, free: 55.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.2767, allocations: 37.55 kB / 441.8 MB, free: 55.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.2768, allocations: 28.91 kB / 441.8 MB, free: 55.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2768, allocations: 0 / 441.8 MB, free: 55.83 MB / 366.1 MB Notification: Performance of Templates: time 0.007907/0.2847, allocations: 6.397 MB / 448.2 MB, free: 55.57 MB / 366.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)