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.001168/0.001168, allocations: 105.2 kB / 16.45 MB, free: 6.445 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.001487/0.001487, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05325/0.05325, allocations: 8.102 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 59.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.107, allocations: 51.52 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.003018/0.1101, allocations: 0.8661 MB / 466.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1125, allocations: 1.283 MB / 468.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.1126, allocations: 4 kB / 468.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.113, allocations: 63.7 kB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1133, allocations: 39.75 kB / 468.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1143, allocations: 358.4 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1145, allocations: 71.72 kB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1147, allocations: 31.95 kB / 468.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.1147, allocations: 35.8 kB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1149, allocations: 39.84 kB / 468.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1149, allocations: 8 kB / 468.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.1153, allocations: 99.88 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.1153, allocations: 19.92 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.1154, allocations: 39.73 kB / 468.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.1158, allocations: 147.6 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1159, allocations: 0 / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1159, allocations: 3.938 kB / 469.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1159, allocations: 8 kB / 469.1 MB, free: 15.05 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.001342/0.1172, allocations: 431.2 kB / 469.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1173, allocations: 8.031 kB / 469.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.1173, allocations: 12.84 kB / 469.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1176, allocations: 176.2 kB / 469.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1176, allocations: 8.375 kB / 469.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1176, allocations: 8.359 kB / 469.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.1179, allocations: 102.1 kB / 469.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1179, allocations: 4.125 kB / 469.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.118, allocations: 7.938 kB / 469.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.118, allocations: 4 kB / 469.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.1182, allocations: 71.91 kB / 469.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.119, allocations: 384.6 kB / 470.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.1196, allocations: 114.6 kB / 470.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.1196, allocations: 36.84 kB / 470.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.1197, allocations: 4 kB / 470.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1197, allocations: 30.56 kB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1198, allocations: 0 / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008646/0.1206, allocations: 247.6 kB / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1207, allocations: 55.34 kB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1209, allocations: 138 kB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.121, allocations: 33.7 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.121, allocations: 91.95 kB / 471 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1211, allocations: 27.64 kB / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.1211, allocations: 25.7 kB / 471.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1213, allocations: 322.8 kB / 471.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.1213, allocations: 27.98 kB / 471.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.1214, allocations: 35.98 kB / 471.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1215, allocations: 72.78 kB / 471.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1215, allocations: 0 / 471.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002967/0.1218, allocations: 146.4 kB / 471.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1219, allocations: 4 kB / 471.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1219, allocations: 3.938 kB / 471.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.1221, allocations: 36.83 kB / 471.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.1222, allocations: 12 kB / 471.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1234, allocations: 1.441 MB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.1235, allocations: 11.95 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1236, allocations: 0 / 473.2 MB, free: 10.57 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.0001021/0.1237, allocations: 125.9 kB / 473.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1237, allocations: 7.906 kB / 473.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.124, allocations: 135.1 kB / 473.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.124, allocations: 4 kB / 473.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.124, allocations: 0 / 473.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.124, allocations: 7.875 kB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.1243, allocations: 201.6 kB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1243, allocations: 0 / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.1243, allocations: 11.98 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.1245, allocations: 44.77 kB / 473.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1245, allocations: 4 kB / 473.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.1256, allocations: 1.43 MB / 475.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1256, allocations: 0 / 475.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1259, allocations: 220.3 kB / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.126, allocations: 81.02 kB / 475.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.126, allocations: 7.984 kB / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1261, allocations: 8 kB / 475.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.1262, allocations: 3.984 kB / 475.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.1262, allocations: 4 kB / 475.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1263, allocations: 107.3 kB / 475.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1263, allocations: 0 / 475.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1266, allocations: 28 kB / 475.6 MB, free: 7.91 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.0001719/0.1267, allocations: 111.2 kB / 475.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.1272, allocations: 198.6 kB / 475.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.1272, allocations: 0 / 475.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1274, allocations: 154.6 kB / 476 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1277, allocations: 15.92 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.1282, allocations: 209.2 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1284, allocations: 0.6924 MB / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.1285, allocations: 12.66 kB / 476.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1285, allocations: 11.44 kB / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1285, allocations: 0 / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Templates: time 0.004564/0.1331, allocations: 1.534 MB / 478.5 MB, free: 4.914 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)