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.001151/0.001152, allocations: 97.33 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 176.3 kB / 16.62 MB, free: 6.434 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.622/1.622, allocations: 223.3 MB / 240.7 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.21/0.21, allocations: 8.083 MB / 299.8 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003984, allocations: 8 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1232, allocations: 52.52 MB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002512/0.1258, allocations: 1.655 MB / 417 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1283, allocations: 1.443 MB / 418.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.1285, allocations: 4 kB / 418.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1289, allocations: 95.58 kB / 418.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.1295, allocations: 139.2 kB / 418.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.1311, allocations: 0.8528 MB / 419.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.1317, allocations: 290.5 kB / 419.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1319, allocations: 89.78 kB / 419.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.132, allocations: 103.6 kB / 420 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1322, allocations: 135.4 kB / 420.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.1323, allocations: 12 kB / 420.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.1328, allocations: 227.7 kB / 420.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.1328, allocations: 47.77 kB / 420.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.1329, allocations: 77.58 kB / 420.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.1333, allocations: 351.3 kB / 420.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1333, allocations: 0 / 420.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1333, allocations: 0 / 420.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1333, allocations: 0 / 420.9 MB, free: 3.199 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.00353/0.1369, allocations: 1.092 MB / 422 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1369, allocations: 12.03 kB / 422 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.137, allocations: 35.58 kB / 422 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1374, allocations: 274.6 kB / 422.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.1374, allocations: 20.56 kB / 422.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.1375, allocations: 28 kB / 422.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.1381, allocations: 376.4 kB / 422.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1382, allocations: 0 / 422.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.1382, allocations: 12 kB / 422.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1382, allocations: 8 kB / 422.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.1387, allocations: 314 kB / 423 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2474/0.3862, allocations: 1.449 MB / 424.5 MB, free: 40.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.3871, allocations: 404.2 kB / 424.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.3874, allocations: 180.5 kB / 425 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.3874, allocations: 7.062 kB / 425 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3875, allocations: 36.94 kB / 425.1 MB, free: 40.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.324e-06/0.3875, allocations: 0 / 425.1 MB, free: 40.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003537/0.391, allocations: 1.249 MB / 426.3 MB, free: 40.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3911, allocations: 107.5 kB / 426.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3913, allocations: 224.4 kB / 426.7 MB, free: 40.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3913, allocations: 35.86 kB / 426.7 MB, free: 40.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3914, allocations: 159.8 kB / 426.8 MB, free: 40.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.3915, allocations: 101.9 kB / 426.9 MB, free: 40.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.3915, allocations: 7.5 kB / 427 MB, free: 40.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.3916, allocations: 334.4 kB / 427.3 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.3918, allocations: 202.7 kB / 427.5 MB, free: 39.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3921, allocations: 253.1 kB / 427.7 MB, free: 39.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3924, allocations: 226.5 kB / 427.9 MB, free: 39.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3924, allocations: 0 / 427.9 MB, free: 39.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001762/0.3942, allocations: 0.8425 MB / 428.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3942, allocations: 6.438 kB / 428.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3943, allocations: 3.188 kB / 428.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.396, allocations: 448.2 kB / 429.2 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3963, allocations: 68.97 kB / 429.3 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.4003, allocations: 3.837 MB / 433.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.4007, allocations: 37.69 kB / 433.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.4007, allocations: 23.41 kB / 433.2 MB, free: 37.07 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.4009, allocations: 145.9 kB / 433.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.4009, allocations: 21.81 kB / 433.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.4028, allocations: 0.7941 MB / 434.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4028, allocations: 3.031 kB / 434.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4029, allocations: 3.312 kB / 434.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4029, allocations: 4.172 kB / 434.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.4033, allocations: 438.2 kB / 434.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4033, allocations: 0 / 434.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.4035, allocations: 42.19 kB / 434.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.4051, allocations: 446.5 kB / 435.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.4052, allocations: 7.281 kB / 435.1 MB, free: 36.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/0.4091, allocations: 3.831 MB / 438.9 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4092, allocations: 2.516 kB / 438.9 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.4109, allocations: 0.8094 MB / 439.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.411, allocations: 107.1 kB / 439.8 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.411, allocations: 7.406 kB / 439.8 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.4113, allocations: 17.25 kB / 439.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.4114, allocations: 27.12 kB / 439.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.4114, allocations: 10.41 kB / 439.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.4115, allocations: 157.3 kB / 440 MB, free: 32.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4116, allocations: 0 / 440 MB, free: 32.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.4122, allocations: 129.3 kB / 440.2 MB, free: 32.6 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.4124, allocations: 120.4 kB / 440.3 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.414, allocations: 0.8085 MB / 441.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.414, allocations: 0 / 441.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.415, allocations: 0.5512 MB / 441.6 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4153, allocations: 23.98 kB / 441.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.4163, allocations: 0.6829 MB / 442.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.4166, allocations: 0.7662 MB / 443.1 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4167, allocations: 37.69 kB / 443.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.4168, allocations: 34.61 kB / 443.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4168, allocations: 1.75 kB / 443.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of Templates: time 0.008882/0.4257, allocations: 6.088 MB / 449.3 MB, free: 30.15 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: