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.0008281/0.0008281, allocations: 102.2 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007717/0.0007716, allocations: 183.1 kB / 16.97 MB, free: 6.879 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.156/0.156, allocations: 8.088 MB / 300.2 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003296, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09741, allocations: 52.51 MB / 416.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.00102/0.09846, allocations: 0.6761 MB / 416.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.09979, allocations: 1.104 MB / 417.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.09985, allocations: 0 / 417.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1001, allocations: 67.77 kB / 417.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.1003, allocations: 31.83 kB / 418 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1008, allocations: 290.9 kB / 418.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.1009, allocations: 59.72 kB / 418.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.101, allocations: 24.17 kB / 418.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.101, allocations: 27.8 kB / 418.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.1011, allocations: 31.84 kB / 418.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1011, allocations: 4 kB / 418.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1013, allocations: 59.92 kB / 418.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1013, allocations: 11.98 kB / 418.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1014, allocations: 53.52 kB / 418.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1016, allocations: 123.9 kB / 418.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1016, allocations: 0 / 418.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1016, allocations: 0 / 418.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1016, allocations: 4 kB / 418.7 MB, free: 5.711 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.0004689/0.1021, allocations: 375.4 kB / 419 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1021, allocations: 16.02 kB / 419 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1022, allocations: 42.73 kB / 419.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.1022, allocations: 12.78 kB / 419.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1023, allocations: 172.2 kB / 419.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1024, allocations: 4.375 kB / 419.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1024, allocations: 12.38 kB / 419.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1025, allocations: 84.66 kB / 419.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1026, allocations: 0 / 419.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1026, allocations: 3.984 kB / 419.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1026, allocations: 0 / 419.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.1027, allocations: 63.92 kB / 419.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1031, allocations: 352.6 kB / 419.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.1032, allocations: 42.5 kB / 419.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.1033, allocations: 20.98 kB / 419.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1034, allocations: 81.11 kB / 419.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1034, allocations: 38.55 kB / 419.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1034, allocations: 0 / 419.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001818/0.1036, allocations: 77.53 kB / 420 MB, free: 4.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1037, allocations: 63.28 kB / 420.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.1037, allocations: 109.8 kB / 420.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1037, allocations: 25.7 kB / 420.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.1038, allocations: 100 kB / 420.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.1038, allocations: 23.73 kB / 420.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.1038, allocations: 13.72 kB / 420.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.104, allocations: 314.8 kB / 420.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.104, allocations: 15.98 kB / 420.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.104, allocations: 12.31 kB / 420.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.1041, allocations: 45 kB / 420.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1041, allocations: 0 / 420.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.1042, allocations: 81.47 kB / 420.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1043, allocations: 4 kB / 420.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1043, allocations: 4 kB / 420.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1043, allocations: 7.984 kB / 420.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.1044, allocations: 8 kB / 420.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1044, allocations: 3.938 kB / 420.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.1044, allocations: 4 kB / 420.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1044, allocations: 0 / 420.8 MB, free: 3.273 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 6.515e-05/0.1045, allocations: 113.8 kB / 421 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.1045, allocations: 3.906 kB / 421 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1047, allocations: 85.58 kB / 421 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1047, allocations: 4 kB / 421 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1047, allocations: 3.938 kB / 421 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1047, allocations: 0 / 421 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1049, allocations: 185.9 kB / 421.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1049, allocations: 0 / 421.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.1049, allocations: 12 kB / 421.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1049, allocations: 0 / 421.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1049, allocations: 3.984 kB / 421.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.105, allocations: 0 / 421.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.105, allocations: 7.938 kB / 421.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1051, allocations: 163.5 kB / 421.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.1051, allocations: 92.94 kB / 421.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1052, allocations: 0 / 421.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.1052, allocations: 0 / 421.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.1052, allocations: 11.88 kB / 421.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1052, allocations: 0 / 421.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.1053, allocations: 87.27 kB / 421.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1053, allocations: 0 / 421.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1055, allocations: 24 kB / 421.6 MB, free: 2.391 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.0003812/0.1059, allocations: 0.6968 MB / 422.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.106, allocations: 43.92 kB / 422.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.106, allocations: 0 / 422.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.1061, allocations: 19.98 kB / 422.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1063, allocations: 7.938 kB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1074, allocations: 1.347 MB / 423.7 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1076, allocations: 0.6888 MB / 424.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1077, allocations: 8.359 kB / 424.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.1077, allocations: 19.44 kB / 424.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1077, allocations: 4 kB / 424.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.1182, allocations: 1.592 MB / 426.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.1184, allocations: 177.1 kB / 426.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.698, allocations: 0 / 426.2 MB, free: 13.65 MB / 366.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)