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: "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 109.8 kB / 16.45 MB, free: 6.449 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.001137/0.001137, allocations: 189.5 kB / 17.39 MB, free: 5.668 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04942/0.04942, allocations: 8.095 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 413.9 MB, free: 22.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09228, allocations: 51.52 MB / 465.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002246/0.09457, allocations: 0.9639 MB / 466.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.09608, allocations: 1.107 MB / 467.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.09617, allocations: 4 kB / 467.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.09648, allocations: 79.62 kB / 467.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.09669, allocations: 31.77 kB / 467.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.0973, allocations: 314.6 kB / 468 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.09745, allocations: 63.66 kB / 468 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.09758, allocations: 32.17 kB / 468.1 MB, free: 204 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.09764, allocations: 35.91 kB / 468.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.09773, allocations: 27.86 kB / 468.1 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.09776, allocations: 8 kB / 468.1 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.09794, allocations: 63.84 kB / 468.2 MB, free: 68 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.09797, allocations: 19.92 kB / 468.2 MB, free: 48 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.09802, allocations: 27.86 kB / 468.2 MB, free: 20 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.09827, allocations: 126.5 kB / 468.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.09829, allocations: 3.984 kB / 468.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09829, allocations: 0 / 468.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.0983, allocations: 0 / 468.4 MB, free: 15.89 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.0006221/0.09893, allocations: 396.2 kB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.09899, allocations: 11.89 kB / 468.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.09904, allocations: 38.75 kB / 468.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.09907, allocations: 4.844 kB / 468.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.09922, allocations: 176.2 kB / 469 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.09924, allocations: 8.375 kB / 469 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.09926, allocations: 4.375 kB / 469 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.09944, allocations: 85.97 kB / 469.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.09946, allocations: 4 kB / 469.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.09948, allocations: 4 kB / 469.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.09949, allocations: 8 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.0996, allocations: 55.97 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1001, allocations: 360.4 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.1002, allocations: 42.52 kB / 469.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.1003, allocations: 16.98 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.1004, allocations: 89.09 kB / 469.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1004, allocations: 34.56 kB / 469.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1004, allocations: 0 / 469.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002082/0.1007, allocations: 69.69 kB / 469.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1007, allocations: 55.34 kB / 469.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.1008, allocations: 117.7 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1008, allocations: 25.7 kB / 469.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.1009, allocations: 108 kB / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.1009, allocations: 15.75 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.101, allocations: 21.66 kB / 470.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1011, allocations: 318.8 kB / 470.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.1011, allocations: 15.94 kB / 470.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.1012, allocations: 15.98 kB / 470.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.276e-05/0.1013, allocations: 40.86 kB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1013, allocations: 0 / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001273/0.1014, allocations: 69.67 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1014, allocations: 12 kB / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1014, allocations: 3.938 kB / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1015, allocations: 0 / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.1015, allocations: 12 kB / 470.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1016, allocations: 4.484 kB / 470.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1016, allocations: 11.89 kB / 470.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1016, allocations: 0 / 470.6 MB, free: 13.43 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.849e-05/0.1017, allocations: 113.8 kB / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1017, allocations: 0 / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.1019, allocations: 85.59 kB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1019, allocations: 0 / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1019, allocations: 7.922 kB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1019, allocations: 320 / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1021, allocations: 185.5 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1021, allocations: 4 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.1022, allocations: 11.98 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1022, allocations: 0 / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1022, allocations: 0 / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1022, allocations: 4 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.1022, allocations: 7.938 kB / 471 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1024, allocations: 155.5 kB / 471.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1025, allocations: 85.02 kB / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.1025, allocations: 0 / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.1025, allocations: 3.938 kB / 471.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.1026, allocations: 11.92 kB / 471.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1026, allocations: 0 / 471.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.1026, allocations: 91.27 kB / 471.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1026, allocations: 4 kB / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1029, allocations: 16 kB / 471.3 MB, free: 12.56 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.0004862/0.1034, allocations: 0.7123 MB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1035, allocations: 43.92 kB / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1035, allocations: 0 / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.1036, allocations: 16 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1038, allocations: 11.94 kB / 472.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.105, allocations: 1.325 MB / 473.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1053, allocations: 0.6883 MB / 474.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.911e-05/0.1054, allocations: 16.36 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1054, allocations: 15.44 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1054, allocations: 0 / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1252, allocations: 1.836 MB / 476 MB, free: 7.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.169, allocations: 4 kB / 476 MB, free: 7.809 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)