Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 104 kB / 16.45 MB, free: 6.43 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.001423/0.001423, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05606/0.05606, allocations: 8.109 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 51.51 MB / 466 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002637/0.1105, allocations: 0.87 MB / 466.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1122, allocations: 1.287 MB / 468.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.1122, allocations: 0 / 468.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1125, allocations: 63.7 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1127, allocations: 43.69 kB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.1134, allocations: 354.4 kB / 468.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1135, allocations: 75.66 kB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1137, allocations: 39.94 kB / 468.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.1137, allocations: 23.88 kB / 468.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1139, allocations: 43.83 kB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1139, allocations: 8 kB / 468.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1141, allocations: 95.89 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.1141, allocations: 23.91 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.1142, allocations: 35.75 kB / 468.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1145, allocations: 147.6 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1145, allocations: 4 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1145, allocations: 4 kB / 469.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1145, allocations: 0 / 469.1 MB, free: 15.04 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009124/0.1154, allocations: 439.2 kB / 469.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1154, allocations: 8.031 kB / 469.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.1155, allocations: 8.844 kB / 469.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1157, allocations: 184.2 kB / 469.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1157, allocations: 4.375 kB / 469.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1157, allocations: 8.375 kB / 469.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1159, allocations: 101.9 kB / 469.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1159, allocations: 192 / 469.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1159, allocations: 7.938 kB / 469.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1159, allocations: 4 kB / 469.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.116, allocations: 71.91 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.1166, allocations: 384.6 kB / 470.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1169, allocations: 114.6 kB / 470.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.117, allocations: 28.86 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.117, allocations: 3.984 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1171, allocations: 38.56 kB / 470.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1171, allocations: 0 / 470.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005661/0.1176, allocations: 235.5 kB / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.1177, allocations: 51.41 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1178, allocations: 142 kB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1179, allocations: 25.7 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.1179, allocations: 99.94 kB / 471 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1179, allocations: 23.81 kB / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.118, allocations: 25.7 kB / 471 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1181, allocations: 322.8 kB / 471.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.1182, allocations: 39.92 kB / 471.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.1182, allocations: 32 kB / 471.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1183, allocations: 76.77 kB / 471.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1184, allocations: 0 / 471.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002539/0.1186, allocations: 146.4 kB / 471.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1186, allocations: 6.5 kB / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1187, allocations: 3.938 kB / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.1189, allocations: 36.83 kB / 471.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.119, allocations: 19.98 kB / 471.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.12, allocations: 1.441 MB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.1201, allocations: 7.969 kB / 473.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1202, allocations: 0 / 473.2 MB, free: 10.56 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 9.591e-05/0.1203, allocations: 129.9 kB / 473.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1203, allocations: 7.906 kB / 473.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.1206, allocations: 126.8 kB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1206, allocations: 4 kB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.1206, allocations: 0 / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1206, allocations: 3.938 kB / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1208, allocations: 201.6 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1208, allocations: 0 / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.1208, allocations: 4 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/0.121, allocations: 48.98 kB / 473.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.121, allocations: 0 / 473.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009691/0.122, allocations: 1.437 MB / 475.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.122, allocations: 3.938 kB / 475.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1223, allocations: 220.7 kB / 475.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1223, allocations: 85 kB / 475.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1223, allocations: 8 kB / 475.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1225, allocations: 7.984 kB / 475.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.1225, allocations: 3.984 kB / 475.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1225, allocations: 4 kB / 475.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.281e-05/0.1226, allocations: 111.2 kB / 475.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1226, allocations: 0 / 475.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1229, allocations: 28 kB / 475.6 MB, free: 7.891 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.0001442/0.123, allocations: 107.2 kB / 475.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.1234, allocations: 194.7 kB / 475.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1235, allocations: 4 kB / 475.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.1237, allocations: 162.7 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.124, allocations: 11.94 kB / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1245, allocations: 212 kB / 476.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1248, allocations: 0.6963 MB / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.1249, allocations: 4.672 kB / 477 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.1249, allocations: 15.44 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1249, allocations: 0 / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004516/0.1295, allocations: 1.519 MB / 478.5 MB, free: 4.906 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)