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.001059/0.001059, allocations: 103.6 kB / 16.45 MB, free: 6.438 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.00109/0.00109, allocations: 186.9 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.253/1.253, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06051/0.06051, allocations: 8.096 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 51.52 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002314/0.1051, allocations: 1.241 MB / 466.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1067, allocations: 1.263 MB / 468 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.1068, allocations: 0 / 468 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1071, allocations: 67.64 kB / 468.1 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1072, allocations: 59.61 kB / 468.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.108, allocations: 358.5 kB / 468.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1082, allocations: 127.4 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1084, allocations: 65.84 kB / 468.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.1085, allocations: 51.78 kB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1086, allocations: 63.75 kB / 468.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1087, allocations: 12 kB / 468.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1089, allocations: 103.9 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.1089, allocations: 27.92 kB / 468.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.109, allocations: 71.59 kB / 469 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1094, allocations: 211.1 kB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1094, allocations: 0 / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1094, allocations: 0 / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1094, allocations: 4 kB / 469.2 MB, free: 14.96 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.001035/0.1105, allocations: 479 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1105, allocations: 15.89 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.1106, allocations: 42.73 kB / 469.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1106, allocations: 12.84 kB / 469.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1108, allocations: 188 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1108, allocations: 12.38 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1108, allocations: 16.38 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1111, allocations: 138.2 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1111, allocations: 7.938 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1111, allocations: 4 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1111, allocations: 4 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1113, allocations: 99.89 kB / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.112, allocations: 492.2 kB / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.1123, allocations: 102.6 kB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1124, allocations: 24.86 kB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.1125, allocations: 85.09 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1125, allocations: 34.56 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1125, allocations: 0 / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00056/0.1131, allocations: 223.7 kB / 471.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1132, allocations: 55.41 kB / 471.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1133, allocations: 141.9 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1134, allocations: 29.64 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.1134, allocations: 131.5 kB / 471.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1135, allocations: 19.7 kB / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1135, allocations: 29.7 kB / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1136, allocations: 322.8 kB / 471.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.1137, allocations: 27.98 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.1138, allocations: 31.98 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.1139, allocations: 64.78 kB / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1139, allocations: 0 / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002654/0.1141, allocations: 142.5 kB / 472.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1142, allocations: 4 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1142, allocations: 4.078 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.1144, allocations: 32.83 kB / 472.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.1145, allocations: 12 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.1157, allocations: 1.429 MB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.1158, allocations: 0 / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1158, allocations: 4.031 kB / 473.6 MB, free: 10.13 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 (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.000124/0.1159, allocations: 125.9 kB / 473.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.116, allocations: 11.89 kB / 473.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.1163, allocations: 126.8 kB / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1163, allocations: 0 / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.1163, allocations: 0 / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1163, allocations: 0 / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1165, allocations: 233.4 kB / 474.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1165, allocations: 0 / 474.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.1166, allocations: 12 kB / 474.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.1167, allocations: 32.83 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1167, allocations: 4 kB / 474.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.1178, allocations: 1.41 MB / 475.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1178, allocations: 0 / 475.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1181, allocations: 204.4 kB / 475.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.1181, allocations: 85.02 kB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1181, allocations: 4 kB / 475.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1182, allocations: 7.984 kB / 475.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.1183, allocations: 7.984 kB / 475.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1183, allocations: 0 / 475.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.1184, allocations: 115.2 kB / 476 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1184, allocations: 0 / 476 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1187, allocations: 43.84 kB / 476 MB, free: 7.48 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.0005655/0.1192, allocations: 0.7522 MB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1196, allocations: 190.9 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1196, allocations: 0 / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.1198, allocations: 147 kB / 477.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1201, allocations: 11.94 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1219, allocations: 1.613 MB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1222, allocations: 0.708 MB / 479.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.1222, allocations: 12.66 kB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.1223, allocations: 35.42 kB / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1223, allocations: 4 kB / 479.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.1423, allocations: 2.985 MB / 482.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.748/8.891, allocations: 11.86 kB / 482.5 MB, free: 0.957 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)