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.001215/0.001215, allocations: 105.4 kB / 16.45 MB, free: 6.449 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.001188/0.001188, allocations: 188.9 kB / 17.39 MB, free: 5.684 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05489/0.05489, allocations: 8.098 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 63.89 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1036, allocations: 51.52 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.003934/0.1076, allocations: 1.249 MB / 466.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1102, allocations: 1.255 MB / 468 MB, free: 176 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.1103, allocations: 4 kB / 468 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.1107, allocations: 71.62 kB / 468.1 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.111, allocations: 55.62 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1121, allocations: 362.4 kB / 468.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1124, allocations: 119.5 kB / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1126, allocations: 73.81 kB / 468.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.1127, allocations: 55.73 kB / 468.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.113, allocations: 63.77 kB / 468.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.113, allocations: 12 kB / 468.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.1133, allocations: 103.9 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1134, allocations: 27.91 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1135, allocations: 63.67 kB / 469 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.114, allocations: 211.5 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.114, allocations: 3.938 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.114, allocations: 0 / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1141, allocations: 4 kB / 469.2 MB, free: 14.97 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.001398/0.1155, allocations: 482.7 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1155, allocations: 15.83 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.1156, allocations: 46.73 kB / 469.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.1157, allocations: 16.84 kB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.116, allocations: 184.2 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.116, allocations: 12.31 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.1161, allocations: 16.38 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.1164, allocations: 134.2 kB / 470.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1165, allocations: 7.938 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1165, allocations: 4 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1165, allocations: 4 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.1168, allocations: 95.95 kB / 470.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1178, allocations: 0.4884 MB / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.1183, allocations: 102.7 kB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.1184, allocations: 28.84 kB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1185, allocations: 85.11 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1186, allocations: 30.56 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.1186, allocations: 3.938 kB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008026/0.1194, allocations: 223.7 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1195, allocations: 55.41 kB / 471.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1197, allocations: 134.1 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1197, allocations: 29.7 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1199, allocations: 123.6 kB / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1199, allocations: 31.69 kB / 471.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.12, allocations: 33.7 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1202, allocations: 318.8 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.1203, allocations: 35.92 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.1204, allocations: 28 kB / 471.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.1206, allocations: 68.84 kB / 472 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1206, allocations: 0 / 472 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003998/0.1211, allocations: 138.5 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1211, allocations: 4 kB / 472.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1211, allocations: 4 kB / 472.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.1214, allocations: 32.83 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1216, allocations: 19.92 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.1233, allocations: 1.41 MB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1235, allocations: 4.031 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1235, allocations: 11.98 kB / 473.6 MB, free: 10.12 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.0001552/0.1237, allocations: 129.8 kB / 473.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.1237, allocations: 7.953 kB / 473.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.1241, allocations: 118.8 kB / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1242, allocations: 7.938 kB / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1242, allocations: 0 / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1242, allocations: 3.984 kB / 473.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.1245, allocations: 217.5 kB / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1246, allocations: 0 / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.1246, allocations: 12 kB / 474.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.1249, allocations: 36.83 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1249, allocations: 4 kB / 474.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.1265, allocations: 1.414 MB / 475.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1265, allocations: 0 / 475.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.1269, allocations: 212.4 kB / 475.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.127, allocations: 89.05 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.127, allocations: 4 kB / 475.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1272, allocations: 4 kB / 475.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1272, allocations: 3.984 kB / 475.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1272, allocations: 8 kB / 475.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1274, allocations: 103.3 kB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.096e-06/0.1274, allocations: 0 / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.1279, allocations: 55.81 kB / 476 MB, free: 7.465 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.0008781/0.1288, allocations: 0.7483 MB / 476.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.1293, allocations: 178.7 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.1293, allocations: 4 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1296, allocations: 150.6 kB / 477.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1301, allocations: 16.22 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.1329, allocations: 1.621 MB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.1334, allocations: 0.7002 MB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.301e-05/0.1335, allocations: 8.656 kB / 479.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.1336, allocations: 39.42 kB / 479.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1336, allocations: 0 / 479.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.1679, allocations: 2.952 MB / 482.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.619/9.786, allocations: 3.938 kB / 482.4 MB, free: 0.9883 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)