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.001443/0.001443, allocations: 107.9 kB / 16.45 MB, free: 6.434 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.00161/0.001611, allocations: 190 kB / 17.38 MB, free: 5.691 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05747/0.05747, allocations: 8.092 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 55.91 kB / 413.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09875, allocations: 51.51 MB / 465.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002289/0.1011, allocations: 0.9678 MB / 466.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1026, allocations: 1.107 MB / 467.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.1027, allocations: 4 kB / 467.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1031, allocations: 83.62 kB / 467.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1033, allocations: 31.77 kB / 467.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.1039, allocations: 310.7 kB / 468 MB, free: 212 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1041, allocations: 67.61 kB / 468 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1042, allocations: 32.14 kB / 468.1 MB, free: 108 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.1043, allocations: 31.91 kB / 468.1 MB, free: 76 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.1044, allocations: 31.86 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1044, allocations: 8 kB / 468.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1046, allocations: 63.91 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1047, allocations: 11.94 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1047, allocations: 39.8 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.105, allocations: 126.4 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.105, allocations: 0 / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.105, allocations: 0 / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.105, allocations: 0 / 468.4 MB, free: 15.8 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.0006113/0.1056, allocations: 396.2 kB / 468.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1057, allocations: 11.89 kB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.1057, allocations: 38.75 kB / 468.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1058, allocations: 8.844 kB / 468.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1059, allocations: 168.3 kB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1059, allocations: 8.375 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.106, allocations: 4.375 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1061, allocations: 85.97 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1061, allocations: 0 / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1062, allocations: 16 kB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1062, allocations: 0 / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.1063, allocations: 51.98 kB / 469.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.1068, allocations: 364.4 kB / 469.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.9e-05/0.1069, allocations: 42.56 kB / 469.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.1069, allocations: 12.98 kB / 469.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.1071, allocations: 89.09 kB / 469.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1071, allocations: 42.5 kB / 469.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1071, allocations: 0 / 469.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001956/0.1073, allocations: 65.69 kB / 469.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1074, allocations: 55.34 kB / 469.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.1075, allocations: 113.8 kB / 469.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1075, allocations: 25.7 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.1076, allocations: 100 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1076, allocations: 23.73 kB / 470 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1076, allocations: 17.72 kB / 470.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1078, allocations: 326.8 kB / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.1078, allocations: 12 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.1078, allocations: 15.94 kB / 470.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.1079, allocations: 41.31 kB / 470.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1079, allocations: 3.938 kB / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001164/0.108, allocations: 81.66 kB / 470.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.108, allocations: 4 kB / 470.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1081, allocations: 4 kB / 470.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1081, allocations: 0 / 470.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.1082, allocations: 12 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1082, allocations: 7.875 kB / 470.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.1082, allocations: 3.906 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1082, allocations: 0 / 470.6 MB, free: 13.34 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 8.194e-05/0.1083, allocations: 117.8 kB / 470.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1084, allocations: 4 kB / 470.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1085, allocations: 81.64 kB / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1085, allocations: 0 / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1085, allocations: 4.25 kB / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1086, allocations: 4 kB / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1087, allocations: 185.5 kB / 471 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1088, allocations: 4 kB / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.1088, allocations: 11.94 kB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1088, allocations: 4 kB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1088, allocations: 0 / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1088, allocations: 3.984 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1089, allocations: 3.938 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.109, allocations: 163.5 kB / 471.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1091, allocations: 81.02 kB / 471.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1091, allocations: 0 / 471.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.1091, allocations: 4 kB / 471.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1092, allocations: 3.938 kB / 471.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1092, allocations: 4 kB / 471.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.1092, allocations: 87.27 kB / 471.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1092, allocations: 4 kB / 471.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1095, allocations: 16 kB / 471.3 MB, free: 12.47 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.0004928/0.11, allocations: 0.7162 MB / 472 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1101, allocations: 35.98 kB / 472.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1101, allocations: 7.938 kB / 472.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.1102, allocations: 16 kB / 472.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1104, allocations: 11.88 kB / 472.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1116, allocations: 1.317 MB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1119, allocations: 0.6922 MB / 474.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.112, allocations: 12.36 kB / 474.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.112, allocations: 23.44 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.112, allocations: 3.938 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1304, allocations: 1.831 MB / 476 MB, free: 7.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.292, allocations: 6.531 kB / 476 MB, free: 7.719 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)