Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") translateModel(PowerSysPro.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 114.2 kB / 17.13 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 199 kB / 18.06 MB, free: 5.039 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.35/1.35, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04893/0.04893, allocations: 8.103 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09034, allocations: 51.52 MB / 466.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002078/0.09246, allocations: 0.9638 MB / 467.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.09392, allocations: 1.115 MB / 468.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.09397, allocations: 4 kB / 468.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.09426, allocations: 67.7 kB / 468.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.09443, allocations: 35.88 kB / 468.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.09499, allocations: 322.5 kB / 469.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.0951, allocations: 59.73 kB / 469.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.09523, allocations: 32.14 kB / 469.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.09528, allocations: 31.91 kB / 469.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.09538, allocations: 35.8 kB / 469.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.0954, allocations: 8 kB / 469.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.09555, allocations: 59.92 kB / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.09558, allocations: 19.92 kB / 469.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.09562, allocations: 27.86 kB / 469.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.09582, allocations: 127.6 kB / 469.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09583, allocations: 0 / 469.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09584, allocations: 0 / 469.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.09585, allocations: 0 / 469.5 MB, free: 15.28 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005676/0.09642, allocations: 395.3 kB / 469.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.09646, allocations: 15.95 kB / 469.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.0965, allocations: 8.844 kB / 469.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.09662, allocations: 172.3 kB / 470.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.09664, allocations: 8.375 kB / 470.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.09666, allocations: 4.375 kB / 470.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.09681, allocations: 78.23 kB / 470.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.09683, allocations: 3.938 kB / 470.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.09685, allocations: 4 kB / 470.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.09686, allocations: 0 / 470.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.09697, allocations: 67.91 kB / 470.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.09744, allocations: 352.5 kB / 470.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.09754, allocations: 46.52 kB / 470.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.09759, allocations: 20.97 kB / 470.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.09771, allocations: 81.11 kB / 470.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.09774, allocations: 38.56 kB / 470.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.09774, allocations: 0 / 470.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001855/0.09793, allocations: 69.69 kB / 470.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.09797, allocations: 55.34 kB / 470.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.09806, allocations: 121.7 kB / 471 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.09808, allocations: 25.7 kB / 471.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.09817, allocations: 104 kB / 471.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.09819, allocations: 11.75 kB / 471.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.09823, allocations: 25.7 kB / 471.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.09842, allocations: 322.8 kB / 471.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.09846, allocations: 15.98 kB / 471.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.09849, allocations: 12.31 kB / 471.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.537e-05/0.09856, allocations: 45 kB / 471.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09857, allocations: 0 / 471.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.09867, allocations: 73.61 kB / 471.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.09869, allocations: 4 kB / 471.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.0987, allocations: 0 / 471.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.09872, allocations: 4 kB / 471.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.09881, allocations: 19.98 kB / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.09882, allocations: 3.938 kB / 471.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.09886, allocations: 3.906 kB / 471.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.09887, allocations: 4 kB / 471.7 MB, free: 12.86 MB / 350.1 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 (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.09896, allocations: 113.8 kB / 471.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.09899, allocations: 0 / 471.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.09913, allocations: 81.56 kB / 471.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.09914, allocations: 4 kB / 471.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.09915, allocations: 7.938 kB / 471.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.09916, allocations: 0 / 471.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.09936, allocations: 189.5 kB / 472.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.09937, allocations: 0 / 472.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.09943, allocations: 12.31 kB / 472.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.09943, allocations: 0 / 472.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.09944, allocations: 0 / 472.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.09945, allocations: 4 kB / 472.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.09946, allocations: 3.938 kB / 472.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.0996, allocations: 167.5 kB / 472.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.09965, allocations: 84.95 kB / 472.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.09967, allocations: 4 kB / 472.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.09973, allocations: 0 / 472.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.09976, allocations: 7.922 kB / 472.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.09977, allocations: 4 kB / 472.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.09981, allocations: 83.28 kB / 472.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09982, allocations: 0 / 472.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1001, allocations: 23.98 kB / 472.5 MB, free: 11.98 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.1002, allocations: 111.2 kB / 472.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1003, allocations: 39.98 kB / 472.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1003, allocations: 0 / 472.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.1004, allocations: 19.94 kB / 472.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1006, allocations: 8 kB / 472.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.1009, allocations: 204.9 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1012, allocations: 0.6922 MB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1012, allocations: 11.44 kB / 473.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1012, allocations: 0 / 473.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Templates: time 0.002192/0.1034, allocations: 0.9462 MB / 474.5 MB, free: 9.895 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneBank.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & ./PowerSysPro_PowerSysPro.Tests.OneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)