Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, 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.334/1.334, allocations: 222.9 MB / 240.3 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.000998/0.0009978, allocations: 101.4 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.05971/0.05971, allocations: 8.095 MB / 348.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 54.48 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1047, allocations: 51.53 MB / 462.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002247/0.107, allocations: 1.319 MB / 463.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1082, allocations: 1.24 MB / 465.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1082, allocations: 4 kB / 465.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1085, allocations: 91.66 kB / 465.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1087, allocations: 51.62 kB / 465.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.1096, allocations: 0.7278 MB / 466 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1098, allocations: 123.5 kB / 466.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1099, allocations: 64.89 kB / 466.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.11, allocations: 51.72 kB / 466.3 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/0.1101, allocations: 63.77 kB / 466.3 MB, free: 2.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1101, allocations: 8 kB / 466.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.1103, allocations: 135.9 kB / 466.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1104, allocations: 27.86 kB / 466.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.1104, allocations: 67.66 kB / 466.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1107, allocations: 251.5 kB / 466.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1107, allocations: 0 / 466.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1107, allocations: 0 / 466.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1107, allocations: 4 kB / 466.8 MB, free: 1.824 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001138/0.1118, allocations: 0.5575 MB / 467.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1119, allocations: 12.03 kB / 467.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.112, allocations: 16.75 kB / 467.4 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1121, allocations: 212.1 kB / 467.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1121, allocations: 12.38 kB / 467.6 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1122, allocations: 12.38 kB / 467.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1124, allocations: 150.7 kB / 467.8 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1124, allocations: 192 / 467.8 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1125, allocations: 7.938 kB / 467.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1125, allocations: 4 kB / 467.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1126, allocations: 115.9 kB / 467.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.1133, allocations: 0.5235 MB / 468.4 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.1141, allocations: 158.5 kB / 468.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1142, allocations: 44.84 kB / 468.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.1144, allocations: 89.05 kB / 468.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1144, allocations: 34.55 kB / 468.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1144, allocations: 0 / 468.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.001175/0.1156, allocations: 359.4 kB / 469.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1157, allocations: 59.28 kB / 469.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1158, allocations: 133.1 kB / 469.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1158, allocations: 29.7 kB / 469.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1159, allocations: 120.1 kB / 469.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1159, allocations: 31.55 kB / 469.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.116, allocations: 29.7 kB / 469.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1161, allocations: 318.8 kB / 469.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.1162, allocations: 43.98 kB / 469.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.1163, allocations: 57.08 kB / 469.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1164, allocations: 105.7 kB / 470 MB, free: 14.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1164, allocations: 0 / 470 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004799/0.1169, allocations: 218.1 kB / 470.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1169, allocations: 10.81 kB / 470.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.117, allocations: 0 / 470.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.1174, allocations: 76.77 kB / 470.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.1175, allocations: 12 kB / 470.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1191, allocations: 1.526 MB / 471.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.1192, allocations: 11.84 kB / 471.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1192, allocations: 7.938 kB / 471.9 MB, free: 12.36 MB / 314.7 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1193, allocations: 121.8 kB / 472 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.1194, allocations: 11.89 kB / 472 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.1199, allocations: 206.8 kB / 472.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1199, allocations: 8 kB / 472.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1199, allocations: 0 / 472.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1199, allocations: 0 / 472.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.1202, allocations: 237.3 kB / 472.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1202, allocations: 3.938 kB / 472.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.1203, allocations: 12 kB / 472.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.1206, allocations: 76.77 kB / 472.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1207, allocations: 4 kB / 472.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.1222, allocations: 1.515 MB / 474 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1223, allocations: 0 / 474 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.1231, allocations: 0.8808 MB / 474.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.1232, allocations: 85.39 kB / 475 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1232, allocations: 3.984 kB / 475 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1233, allocations: 4 kB / 475 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1233, allocations: 15.92 kB / 475 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1234, allocations: 7.938 kB / 475 MB, free: 8.898 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.1234, allocations: 99.27 kB / 475.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1234, allocations: 0 / 475.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.1238, allocations: 47.84 kB / 475.2 MB, free: 8.754 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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.124, allocations: 117.6 kB / 475.3 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.1247, allocations: 258.8 kB / 475.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1247, allocations: 4.062 kB / 475.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.1251, allocations: 194.7 kB / 475.7 MB, free: 8.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1254, allocations: 11.91 kB / 475.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.1262, allocations: 471.3 kB / 476.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1265, allocations: 0.7121 MB / 476.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.685e-05/0.1265, allocations: 8.672 kB / 476.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.1266, allocations: 19.42 kB / 477 MB, free: 6.875 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1266, allocations: 0 / 477 MB, free: 6.875 MB / 314.7 MB Notification: Performance of Templates: time 0.004448/0.131, allocations: 1.977 MB / 478.9 MB, free: 4.902 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)