Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, 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.292/1.292, 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.001083/0.001083, allocations: 112.1 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05214/0.05214, allocations: 8.091 MB / 348.8 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 55.45 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09241, allocations: 51.53 MB / 462.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003356/0.09582, allocations: 3.354 MB / 466 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.09796, allocations: 1.847 MB / 467.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.09813, allocations: 15.94 kB / 467.8 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.09855, allocations: 175.2 kB / 468 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.09909, allocations: 282.4 kB / 468.3 MB, free: 400 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.1012, allocations: 1.248 MB / 469.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.1019, allocations: 0.6375 MB / 470.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.1022, allocations: 187.7 kB / 470.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.1024, allocations: 258.9 kB / 470.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.1028, allocations: 338.6 kB / 470.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.1029, allocations: 40 kB / 471 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.1034, allocations: 275.7 kB / 471.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1035, allocations: 119.5 kB / 471.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.1038, allocations: 298.4 kB / 471.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007757/0.1046, allocations: 0.7983 MB / 472.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1046, allocations: 0 / 472.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1046, allocations: 0 / 472.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1046, allocations: 4 kB / 472.4 MB, free: 12.2 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00712/0.1117, allocations: 1.872 MB / 474.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1118, allocations: 12.03 kB / 474.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1119, allocations: 68.19 kB / 474.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.1125, allocations: 430 kB / 474.8 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1125, allocations: 37.38 kB / 474.9 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.1126, allocations: 52.38 kB / 474.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1137, allocations: 0.722 MB / 475.6 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1137, allocations: 192 / 475.6 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.1138, allocations: 23.94 kB / 475.6 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1138, allocations: 12 kB / 475.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009803/0.1148, allocations: 0.6599 MB / 476.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.1184, allocations: 2.856 MB / 479.2 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.1199, allocations: 1.087 MB / 480.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.1205, allocations: 494.6 kB / 480.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1206, allocations: 24.62 kB / 480.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1207, allocations: 47.16 kB / 480.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.1207, allocations: 0 / 480.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.01216/0.1329, allocations: 3.214 MB / 484 MB, free: 136 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1738/0.3067, allocations: 115.4 kB / 484.1 MB, free: 28.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.3073, allocations: 374.8 kB / 484.5 MB, free: 28.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.3075, allocations: 42.23 kB / 484.6 MB, free: 28.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3076, allocations: 209.3 kB / 484.8 MB, free: 28.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.3078, allocations: 252.2 kB / 485 MB, free: 28.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.3082, allocations: 153.9 kB / 485.2 MB, free: 28.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.3083, allocations: 369.4 kB / 485.5 MB, free: 27.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.3089, allocations: 464 kB / 486 MB, free: 27.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.3096, allocations: 0.5232 MB / 486.5 MB, free: 27.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.3111, allocations: 1.021 MB / 487.5 MB, free: 26.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3111, allocations: 2.562 kB / 487.5 MB, free: 26.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005223/0.3163, allocations: 2.015 MB / 489.5 MB, free: 25.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3164, allocations: 5.5 kB / 489.5 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3164, allocations: 3.938 kB / 489.5 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00564/0.322, allocations: 1.525 MB / 491.1 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.3226, allocations: 129.6 kB / 491.2 MB, free: 25.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.3331, allocations: 5.749 MB / 496.9 MB, free: 22.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.3339, allocations: 78.31 kB / 497 MB, free: 22.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.334, allocations: 30.91 kB / 497 MB, free: 22.22 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.0002451/0.3342, allocations: 196.8 kB / 497.2 MB, free: 22.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3344, allocations: 52.27 kB / 497.3 MB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/0.3399, allocations: 1.993 MB / 499.3 MB, free: 21.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.34, allocations: 8.625 kB / 499.3 MB, free: 21.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.34, allocations: 5.719 kB / 499.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.34, allocations: 3.844 kB / 499.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.3464, allocations: 2.829 MB / 0.4904 GB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3464, allocations: 1.188 kB / 0.4904 GB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3467, allocations: 91.08 kB / 0.4904 GB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005315/0.3521, allocations: 1.283 MB / 0.4917 GB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.3521, allocations: 21.36 kB / 0.4917 GB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009453/0.3616, allocations: 5.681 MB / 0.4973 GB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3616, allocations: 3.125 kB / 0.4973 GB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/0.3671, allocations: 3.154 MB / 0.5003 GB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3672, allocations: 151 kB / 0.5005 GB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.3673, allocations: 16 kB / 0.5005 GB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.3678, allocations: 39.97 kB / 0.5005 GB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.3681, allocations: 64 kB / 0.5006 GB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.3681, allocations: 32 kB / 0.5006 GB, free: 12.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.3684, allocations: 263.1 kB / 0.5009 GB, free: 12.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3684, allocations: 0 / 0.5009 GB, free: 12.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009782/0.3694, allocations: 279.8 kB / 0.5012 GB, free: 12.26 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 (56): * Single equations (assignments): 55 * 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.0002394/0.3696, allocations: 135 kB / 0.5013 GB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003403/0.373, allocations: 1.648 MB / 0.5029 GB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3731, allocations: 0 / 0.5029 GB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.3755, allocations: 1.089 MB / 0.504 GB, free: 9.367 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.376, allocations: 68.27 kB / 0.504 GB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3778, allocations: 1.802 MB / 0.5058 GB, free: 7.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3781, allocations: 0.9014 MB / 0.5067 GB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.3784, allocations: 80.34 kB / 0.5067 GB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3785, allocations: 55.41 kB / 0.5068 GB, free: 6.41 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3785, allocations: 0 / 0.5068 GB, free: 6.41 MB / 314.7 MB Notification: Performance of Templates: time 0.02447/0.403, allocations: 18.47 MB / 0.5248 GB, free: 4.02 MB / 330.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)