Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.0009003/0.0009004, allocations: 97.41 kB / 16.06 MB, free: 40 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.001141/0.00114, allocations: 185.5 kB / 16.96 MB, free: 6.871 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.286/1.286, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1758/0.1758, allocations: 8.092 MB / 300.2 MB, free: 2.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 52.51 MB / 416.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.001622/0.1042, allocations: 0.9418 MB / 417 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.106, allocations: 1.24 MB / 418.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.106, allocations: 4 kB / 418.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1063, allocations: 63.75 kB / 418.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1065, allocations: 39.75 kB / 418.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.1071, allocations: 350.8 kB / 418.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1073, allocations: 111.5 kB / 418.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1074, allocations: 61.39 kB / 418.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.1075, allocations: 39.8 kB / 418.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1076, allocations: 55.77 kB / 419 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1077, allocations: 4 kB / 419 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1079, allocations: 103.9 kB / 419.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.1079, allocations: 23.86 kB / 419.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.108, allocations: 85.38 kB / 419.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1083, allocations: 199.6 kB / 419.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1083, allocations: 4 kB / 419.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1083, allocations: 4 kB / 419.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1083, allocations: 0 / 419.4 MB, free: 4.969 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009104/0.1093, allocations: 453.3 kB / 419.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1093, allocations: 12.03 kB / 419.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.1094, allocations: 46.73 kB / 419.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1094, allocations: 8.844 kB / 419.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1096, allocations: 192.1 kB / 420.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1096, allocations: 16.38 kB / 420.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1097, allocations: 12.38 kB / 420.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1099, allocations: 134.2 kB / 420.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1099, allocations: 3.938 kB / 420.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1099, allocations: 4 kB / 420.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.11, allocations: 4 kB / 420.3 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1101, allocations: 99.89 kB / 420.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.1108, allocations: 496.2 kB / 420.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1111, allocations: 102.6 kB / 421 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1112, allocations: 28.84 kB / 421 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.1113, allocations: 93.25 kB / 421.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1113, allocations: 30.56 kB / 421.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1114, allocations: 3.938 kB / 421.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005585/0.1119, allocations: 223.5 kB / 421.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.112, allocations: 55.41 kB / 421.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1121, allocations: 145.9 kB / 421.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1121, allocations: 29.7 kB / 421.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1122, allocations: 123.4 kB / 421.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1122, allocations: 19.72 kB / 421.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1123, allocations: 21.7 kB / 421.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.1124, allocations: 318.8 kB / 422 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.1124, allocations: 27.98 kB / 422.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.1125, allocations: 27.98 kB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1126, allocations: 68.86 kB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1126, allocations: 3.938 kB / 422.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002527/0.1129, allocations: 130.5 kB / 422.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1129, allocations: 4 kB / 422.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1129, allocations: 7.984 kB / 422.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.1131, allocations: 28.84 kB / 422.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.1132, allocations: 15.98 kB / 422.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.1144, allocations: 1.319 MB / 423.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.1145, allocations: 16.09 kB / 423.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1145, allocations: 0 / 423.7 MB, free: 296 kB / 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1146, allocations: 122.1 kB / 423.8 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1146, allocations: 7.844 kB / 423.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1149, allocations: 130.8 kB / 423.9 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1149, allocations: 3.938 kB / 423.9 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.115, allocations: 0 / 423.9 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.115, allocations: 4 kB / 423.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1746/0.2896, allocations: 215.1 kB / 424.1 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2897, allocations: 2.984 kB / 424.2 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.2897, allocations: 9.625 kB / 424.2 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.29, allocations: 33.92 kB / 424.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.29, allocations: 1.125 kB / 424.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.2909, allocations: 1.315 MB / 425.5 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2909, allocations: 0 / 425.5 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.2912, allocations: 207.2 kB / 425.7 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.2912, allocations: 83.8 kB / 425.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2912, allocations: 0 / 425.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2914, allocations: 12.69 kB / 425.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.2914, allocations: 12.91 kB / 425.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2914, allocations: 3.406 kB / 425.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.2915, allocations: 111.3 kB / 425.9 MB, free: 39.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2915, allocations: 0 / 425.9 MB, free: 39.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.2919, allocations: 41.73 kB / 426 MB, free: 39.12 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004103/0.2923, allocations: 0.7396 MB / 426.7 MB, free: 38.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.2926, allocations: 188.4 kB / 426.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2926, allocations: 3.281 kB / 426.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.2928, allocations: 143 kB / 427 MB, free: 38.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2931, allocations: 15.41 kB / 427.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.2945, allocations: 1.674 MB / 428.7 MB, free: 36.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2946, allocations: 0.7114 MB / 429.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.2947, allocations: 14.58 kB / 429.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.2947, allocations: 28.92 kB / 429.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2948, allocations: 6.906 kB / 429.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.3065, allocations: 2.649 MB / 432.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.3067, allocations: 214.1 kB / 432.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.898, allocations: 4 kB / 432.3 MB, free: 35.82 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)