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.001476/0.001476, allocations: 182.4 kB / 13.23 MB, free: 2.086 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.333/1.333, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.0007993/0.0007992, allocations: 97.81 kB / 286.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03997/0.03997, allocations: 8.102 MB / 345.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.613e-05, allocations: 4 kB / 405.5 MB, free: 61.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07701, allocations: 52.52 MB / 458 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.3863, allocations: 81.38 MB / 0.5267 GB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.3865, allocations: 66.72 kB / 0.5268 GB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05351/0.44, allocations: 21.5 MB / 0.5478 GB, free: 3.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4401, allocations: 0.6562 kB / 0.5478 GB, free: 3.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.4401, allocations: 15.94 kB / 0.5478 GB, free: 3.41 MB / 362.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.004154/0.4443, allocations: 1.289 MB / 0.5491 GB, free: 2.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4443, allocations: 12.03 kB / 0.5491 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4445, allocations: 79.06 kB / 0.5491 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.4452, allocations: 0.4946 MB / 0.5496 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.4452, allocations: 41.56 kB / 0.5497 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.4453, allocations: 47.88 kB / 0.5497 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4465, allocations: 0.8278 MB / 0.5505 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4465, allocations: 0 / 0.5505 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.4466, allocations: 19.38 kB / 0.5505 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4466, allocations: 12 kB / 0.5506 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.4477, allocations: 0.7701 MB / 0.5513 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.4522, allocations: 3.569 MB / 0.5548 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4538, allocations: 1.333 MB / 0.5561 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007383/0.4546, allocations: 0.5809 MB / 0.5567 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.4548, allocations: 101.9 kB / 0.5568 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4548, allocations: 43.34 kB / 0.5568 GB, free: 12.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/0.4548, allocations: 0 / 0.5568 GB, free: 12.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.00596/0.4608, allocations: 2.068 MB / 0.5588 GB, free: 9.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.4609, allocations: 115.6 kB / 0.5589 GB, free: 9.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.4614, allocations: 387.2 kB / 0.5593 GB, free: 9.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.4614, allocations: 41.7 kB / 0.5593 GB, free: 9.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4616, allocations: 245.3 kB / 0.5596 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.4619, allocations: 303.5 kB / 0.5599 GB, free: 8.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.4619, allocations: 16 kB / 0.5599 GB, free: 8.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4621, allocations: 370.8 kB / 0.5602 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.4628, allocations: 449.5 kB / 0.5607 GB, free: 8.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.4635, allocations: 0.4991 MB / 0.5611 GB, free: 7.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.4642, allocations: 486 kB / 0.5616 GB, free: 7.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4642, allocations: 4 kB / 0.5616 GB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00589/0.4701, allocations: 2.119 MB / 0.5637 GB, free: 4.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4702, allocations: 4 kB / 0.5637 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4702, allocations: 0 / 0.5637 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.4765, allocations: 1.483 MB / 0.5651 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.4769, allocations: 99.81 kB / 0.5652 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.489, allocations: 6.58 MB / 0.5717 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.4898, allocations: 67.31 kB / 0.5717 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.4899, allocations: 31.98 kB / 0.5717 GB, free: 12.55 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4901, allocations: 140.9 kB / 0.5719 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4902, allocations: 67.25 kB / 0.5719 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006337/0.4966, allocations: 2.316 MB / 0.5742 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4966, allocations: 12 kB / 0.5742 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4966, allocations: 0 / 0.5742 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.4967, allocations: 7.969 kB / 0.5742 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.5041, allocations: 3.485 MB / 0.5776 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5041, allocations: 0 / 0.5776 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.5045, allocations: 111.8 kB / 0.5777 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005842/0.5104, allocations: 1.347 MB / 0.5791 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.5105, allocations: 19.98 kB / 0.5791 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.5224, allocations: 6.516 MB / 0.5854 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5224, allocations: 0 / 0.5854 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.5287, allocations: 2.271 MB / 0.5877 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.529, allocations: 156 kB / 0.5878 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5292, allocations: 19.98 kB / 0.5878 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.5299, allocations: 59.97 kB / 0.5879 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.5302, allocations: 76.88 kB / 0.588 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.5303, allocations: 31.98 kB / 0.588 GB, free: 11.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003996/0.5307, allocations: 309.2 kB / 0.5883 GB, free: 11.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5307, allocations: 3.938 kB / 0.5883 GB, free: 11.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001072/0.5318, allocations: 331.8 kB / 0.5886 GB, free: 11.03 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.5321, allocations: 151 kB / 0.5887 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.5359, allocations: 1.627 MB / 0.5903 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.536, allocations: 7.938 kB / 0.5903 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.5388, allocations: 1.134 MB / 0.5914 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.5393, allocations: 62.52 kB / 0.5915 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.5409, allocations: 0.9348 MB / 0.5924 GB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5414, allocations: 0.9374 MB / 0.5933 GB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.5417, allocations: 88.84 kB / 0.5934 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.5419, allocations: 55.41 kB / 0.5935 GB, free: 5.957 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5419, allocations: 0 / 0.5935 GB, free: 5.957 MB / 410.7 MB Notification: Performance of Templates: time 0.02967/0.5716, allocations: 20.89 MB / 0.6139 GB, free: 1.121 MB / 426.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)