Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 10.99 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.0009452/0.0009451, allocations: 94.38 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.06693/0.06693, allocations: 8.09 MB / 348.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.28 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08044/0.08148, allocations: 51.52 MB / 462.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003592/0.08512, allocations: 3.856 MB / 466.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.08731, allocations: 1.952 MB / 468.4 MB, free: 228 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.08753, allocations: 15.94 kB / 468.4 MB, free: 212 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.08801, allocations: 187.2 kB / 468.6 MB, free: 24 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.08878, allocations: 346.1 kB / 469 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.09111, allocations: 1.28 MB / 470.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008933/0.09201, allocations: 0.7657 MB / 471 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.09236, allocations: 214.3 kB / 471.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.09264, allocations: 314.8 kB / 471.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.09309, allocations: 406.2 kB / 471.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.09318, allocations: 44 kB / 472 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.09369, allocations: 291.7 kB / 472.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.09382, allocations: 139.4 kB / 472.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.09413, allocations: 354.1 kB / 472.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009113/0.09505, allocations: 0.9189 MB / 473.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09506, allocations: 0 / 473.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09507, allocations: 0 / 473.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.09509, allocations: 0 / 473.6 MB, free: 10.97 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00831/0.1034, allocations: 2.132 MB / 475.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1035, allocations: 8.031 kB / 475.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1037, allocations: 80.09 kB / 475.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.1043, allocations: 481.8 kB / 476.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.1044, allocations: 45.38 kB / 476.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.1045, allocations: 64.38 kB / 476.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1057, allocations: 0.8352 MB / 477.3 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1057, allocations: 4.172 kB / 477.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.1058, allocations: 27.94 kB / 477.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1058, allocations: 12 kB / 477.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.107, allocations: 0.7848 MB / 478.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.1114, allocations: 3.342 MB / 481.4 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.1131, allocations: 1.36 MB / 482.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.1138, allocations: 0.5885 MB / 483.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.114, allocations: 24.95 kB / 483.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.114, allocations: 47.56 kB / 483.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.114, allocations: 0 / 483.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.1728/0.2869, allocations: 3.959 MB / 487.4 MB, free: 27.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2869, allocations: 117.4 kB / 487.5 MB, free: 27.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.2875, allocations: 426.4 kB / 488 MB, free: 27.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.2876, allocations: 52.36 kB / 488 MB, free: 27.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2878, allocations: 234.3 kB / 488.2 MB, free: 27.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.288, allocations: 306.5 kB / 488.5 MB, free: 27.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.2883, allocations: 178.2 kB / 488.7 MB, free: 27.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.2884, allocations: 371.5 kB / 489.1 MB, free: 26.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/0.2892, allocations: 0.5401 MB / 489.6 MB, free: 26.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.2901, allocations: 0.6228 MB / 490.2 MB, free: 26.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2916, allocations: 1.211 MB / 491.4 MB, free: 25.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2916, allocations: 0 / 491.4 MB, free: 25.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006085/0.2977, allocations: 2.374 MB / 493.8 MB, free: 24.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2978, allocations: 12.77 kB / 493.8 MB, free: 24.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2978, allocations: 0 / 493.8 MB, free: 24.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006736/0.3045, allocations: 1.765 MB / 495.6 MB, free: 24.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.3051, allocations: 148.4 kB / 495.7 MB, free: 24.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.3171, allocations: 6.732 MB / 0.4907 GB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.318, allocations: 89.48 kB / 0.4908 GB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.3181, allocations: 33.98 kB / 0.4908 GB, free: 20.18 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.3183, allocations: 202.8 kB / 0.491 GB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3185, allocations: 67.38 kB / 0.4911 GB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00661/0.3251, allocations: 2.33 MB / 0.4933 GB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3251, allocations: 10.41 kB / 0.4934 GB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3252, allocations: 1.125 kB / 0.4934 GB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3252, allocations: 11.86 kB / 0.4934 GB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006991/0.3322, allocations: 3.321 MB / 0.4966 GB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3322, allocations: 7.75 kB / 0.4966 GB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.3326, allocations: 110.2 kB / 0.4967 GB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00597/0.3385, allocations: 1.497 MB / 0.4982 GB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.3386, allocations: 16 kB / 0.4982 GB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.3491, allocations: 6.612 MB / 0.5047 GB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3491, allocations: 0 / 0.5047 GB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00659/0.3557, allocations: 3.629 MB / 0.5082 GB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.3559, allocations: 148.1 kB / 0.5083 GB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.356, allocations: 20 kB / 0.5084 GB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.3567, allocations: 58.98 kB / 0.5084 GB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.357, allocations: 84.83 kB / 0.5085 GB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.357, allocations: 28 kB / 0.5085 GB, free: 4.719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.3574, allocations: 295.1 kB / 0.5088 GB, free: 4.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3574, allocations: 0 / 0.5088 GB, free: 4.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001075/0.3585, allocations: 343.8 kB / 0.5091 GB, free: 4.094 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.3587, allocations: 139.1 kB / 0.5093 GB, free: 3.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.3628, allocations: 1.935 MB / 0.5112 GB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3628, allocations: 0 / 0.5112 GB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002991/0.3658, allocations: 1.272 MB / 0.5124 GB, free: 0.7188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.3665, allocations: 73.95 kB / 0.5125 GB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.3693, allocations: 2.121 MB / 0.5145 GB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3698, allocations: 0.9454 MB / 0.5155 GB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.3702, allocations: 92.83 kB / 0.5156 GB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3703, allocations: 59.42 kB / 0.5156 GB, free: 13.38 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3703, allocations: 0 / 0.5156 GB, free: 13.38 MB / 330.7 MB Notification: Performance of Templates: time 0.0337/0.4041, allocations: 22.34 MB / 0.5374 GB, free: 7.109 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)