Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001014, allocations: 104.8 kB / 290.6 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04999/0.04999, allocations: 8.091 MB / 348.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 56.48 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08651, allocations: 51.52 MB / 462.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004042/0.0906, allocations: 3.721 MB / 466.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.09375, allocations: 1.804 MB / 468.1 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.09464, allocations: 12 kB / 468.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.09554, allocations: 179.2 kB / 468.3 MB, free: 324 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.09686, allocations: 302.3 kB / 468.6 MB, free: 20 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.09965, allocations: 1.263 MB / 469.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.101, allocations: 0.6842 MB / 470.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.1014, allocations: 218.1 kB / 470.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.1018, allocations: 282.8 kB / 471.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.1023, allocations: 370.4 kB / 471.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1025, allocations: 40 kB / 471.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008002/0.1033, allocations: 275.8 kB / 471.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.1034, allocations: 131.4 kB / 471.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.104, allocations: 322.3 kB / 472.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.1056, allocations: 0.8527 MB / 473 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1056, allocations: 4 kB / 473 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1056, allocations: 3.984 kB / 473 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.1056, allocations: 0 / 473 MB, free: 11.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.007891/0.1135, allocations: 1.918 MB / 475 MB, free: 9.609 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1136, allocations: 8.031 kB / 475 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.1138, allocations: 76.09 kB / 475 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.1145, allocations: 438 kB / 475.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.1146, allocations: 41.38 kB / 475.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1147, allocations: 60.38 kB / 475.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.116, allocations: 0.7611 MB / 476.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.116, allocations: 192 / 476.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.1161, allocations: 23.94 kB / 476.3 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1161, allocations: 12 kB / 476.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1172, allocations: 0.6872 MB / 477 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.1213, allocations: 2.961 MB / 480 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.1228, allocations: 1.296 MB / 481.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.1235, allocations: 466.7 kB / 481.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1236, allocations: 24.56 kB / 481.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.1237, allocations: 47.16 kB / 481.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.444e-06/0.1237, allocations: 4 kB / 481.8 MB, free: 2.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.2041/0.3278, allocations: 3.449 MB / 485.3 MB, free: 28.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3278, allocations: 114.5 kB / 485.4 MB, free: 28.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.3285, allocations: 385 kB / 485.8 MB, free: 28.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.3287, allocations: 42.73 kB / 485.8 MB, free: 28.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3289, allocations: 228.9 kB / 486 MB, free: 27.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.3292, allocations: 254.8 kB / 486.3 MB, free: 27.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.3295, allocations: 155.3 kB / 486.4 MB, free: 27.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3297, allocations: 361.9 kB / 486.8 MB, free: 27.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.3304, allocations: 447 kB / 487.2 MB, free: 27.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.3312, allocations: 0.5052 MB / 487.7 MB, free: 26.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.3327, allocations: 0.987 MB / 488.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3328, allocations: 1.188 kB / 488.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00547/0.3382, allocations: 1.979 MB / 490.7 MB, free: 25.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.3383, allocations: 5.078 kB / 490.7 MB, free: 25.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3383, allocations: 0 / 490.7 MB, free: 25.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006025/0.3443, allocations: 1.529 MB / 492.2 MB, free: 25.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.3449, allocations: 125.9 kB / 492.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.3557, allocations: 5.449 MB / 497.8 MB, free: 22.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/0.3565, allocations: 83.3 kB / 497.9 MB, free: 22.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3566, allocations: 33.84 kB / 497.9 MB, free: 22.11 MB / 314.7 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003287/0.357, allocations: 195.4 kB / 498.1 MB, free: 21.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.3571, allocations: 53.62 kB / 498.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/0.363, allocations: 1.915 MB / 0.4884 GB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.3631, allocations: 16.34 kB / 0.4884 GB, free: 21.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3631, allocations: 0 / 0.4884 GB, free: 21.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.3631, allocations: 5.062 kB / 0.4884 GB, free: 21.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.3694, allocations: 2.756 MB / 0.4911 GB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.3695, allocations: 0 / 0.4911 GB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3698, allocations: 93 kB / 0.4912 GB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005551/0.3754, allocations: 1.295 MB / 0.4924 GB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/0.3755, allocations: 16.52 kB / 0.4924 GB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.3858, allocations: 5.368 MB / 0.4977 GB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3858, allocations: 3.719 kB / 0.4977 GB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/0.3916, allocations: 3.092 MB / 0.5007 GB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.392, allocations: 132.4 kB / 0.5008 GB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.3921, allocations: 19.98 kB / 0.5008 GB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.3928, allocations: 45.11 kB / 0.5009 GB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.3931, allocations: 64.91 kB / 0.501 GB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.3932, allocations: 24 kB / 0.501 GB, free: 12.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003061/0.3935, allocations: 267.1 kB / 0.5012 GB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3935, allocations: 0 / 0.5012 GB, free: 12.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001283/0.3948, allocations: 291.7 kB / 0.5015 GB, free: 11.8 MB / 314.7 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/0.3951, allocations: 139.1 kB / 0.5016 GB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.3992, allocations: 1.611 MB / 0.5032 GB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3992, allocations: 0 / 0.5032 GB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002634/0.4019, allocations: 1.063 MB / 0.5043 GB, free: 8.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.4025, allocations: 61.55 kB / 0.5043 GB, free: 8.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.4046, allocations: 1.841 MB / 0.5061 GB, free: 7.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.4049, allocations: 0.9123 MB / 0.507 GB, free: 6.109 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.4052, allocations: 80.34 kB / 0.5071 GB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4053, allocations: 55.41 kB / 0.5071 GB, free: 5.977 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4053, allocations: 0 / 0.5071 GB, free: 5.977 MB / 314.7 MB Notification: Performance of Templates: time 0.02541/0.4308, allocations: 17.87 MB / 0.5246 GB, free: 4.195 MB / 330.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)