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.001719/0.001718, allocations: 108.5 kB / 16.45 MB, free: 6.652 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.00187/0.00187, allocations: 189 kB / 17.39 MB, free: 5.781 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0555/0.0555, allocations: 8.092 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 68.11 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.094, allocations: 51.51 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002124/0.09617, allocations: 0.9717 MB / 466.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.0976, allocations: 1.115 MB / 467.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.09766, allocations: 0 / 467.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.09794, allocations: 71.62 kB / 467.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.09809, allocations: 43.72 kB / 467.7 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.09869, allocations: 306.8 kB / 468 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.09881, allocations: 63.66 kB / 468 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.09894, allocations: 36.14 kB / 468.1 MB, free: 64 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.09898, allocations: 19.94 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.09907, allocations: 39.84 kB / 468.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.09909, allocations: 4 kB / 468.1 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.09926, allocations: 71.84 kB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.09929, allocations: 11.94 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.09935, allocations: 31.86 kB / 468.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.09958, allocations: 127.7 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09959, allocations: 0 / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0996, allocations: 4 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09961, allocations: 0 / 468.4 MB, free: 15.76 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.0005844/0.1002, allocations: 395.1 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1002, allocations: 15.89 kB / 468.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.1003, allocations: 38.75 kB / 468.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1003, allocations: 12.88 kB / 468.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1005, allocations: 176.2 kB / 469 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1005, allocations: 8.375 kB / 469 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1005, allocations: 8.359 kB / 469 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1007, allocations: 81.98 kB / 469.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1007, allocations: 0 / 469.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1007, allocations: 4 kB / 469.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1008, allocations: 8 kB / 469.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1009, allocations: 55.97 kB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.1014, allocations: 356.5 kB / 469.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.1015, allocations: 46.45 kB / 469.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.1015, allocations: 20.97 kB / 469.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1017, allocations: 81.11 kB / 469.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1017, allocations: 34.56 kB / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1017, allocations: 0 / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002041/0.1019, allocations: 69.69 kB / 469.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.102, allocations: 59.34 kB / 469.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.1021, allocations: 109.8 kB / 469.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1021, allocations: 29.7 kB / 469.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1022, allocations: 108 kB / 470.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1022, allocations: 15.84 kB / 470.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1022, allocations: 33.69 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1024, allocations: 314.8 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.1024, allocations: 12 kB / 470.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.1025, allocations: 15.98 kB / 470.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.1025, allocations: 40.86 kB / 470.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1026, allocations: 0 / 470.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.1027, allocations: 70.11 kB / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1027, allocations: 4 kB / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1027, allocations: 7.938 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1027, allocations: 4 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.1028, allocations: 11.98 kB / 470.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1028, allocations: 8 kB / 470.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.1029, allocations: 4 kB / 470.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1029, allocations: 4 kB / 470.6 MB, free: 13.29 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.166e-05/0.103, allocations: 113.8 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.103, allocations: 3.953 kB / 470.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1032, allocations: 85.83 kB / 470.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1032, allocations: 4 kB / 470.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1032, allocations: 3.938 kB / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1032, allocations: 0 / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1034, allocations: 181.6 kB / 471 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1034, allocations: 3.984 kB / 471 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1035, allocations: 8 kB / 471 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1035, allocations: 0 / 471 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1035, allocations: 4 kB / 471 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1035, allocations: 0 / 471 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1035, allocations: 3.938 kB / 471 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1037, allocations: 163.5 kB / 471.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.1037, allocations: 85.05 kB / 471.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1038, allocations: 4 kB / 471.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.1038, allocations: 3.938 kB / 471.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.1038, allocations: 15.86 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1039, allocations: 3.984 kB / 471.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.1039, allocations: 83.28 kB / 471.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1039, allocations: 3.938 kB / 471.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1042, allocations: 23.95 kB / 471.4 MB, free: 12.4 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.0005122/0.1047, allocations: 0.7008 MB / 472.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1048, allocations: 43.92 kB / 472.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1048, allocations: 0 / 472.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.1049, allocations: 16.19 kB / 472.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1051, allocations: 11.05 kB / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1064, allocations: 1.325 MB / 473.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1067, allocations: 0.6961 MB / 474.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.1067, allocations: 4 kB / 474.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.1068, allocations: 23.44 kB / 474.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1068, allocations: 0 / 474.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1286, allocations: 1.818 MB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.97, allocations: 3.938 kB / 476 MB, free: 7.68 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)