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-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: 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.001285/0.001285, allocations: 113.7 kB / 17.13 MB, free: 5.926 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.001322/0.001322, allocations: 193.2 kB / 18.06 MB, free: 5.012 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.317/1.317, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04713/0.04713, allocations: 8.095 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 63.91 kB / 415.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09975, allocations: 51.52 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002747/0.1025, allocations: 0.8661 MB / 467.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.105, allocations: 1.287 MB / 468.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.1051, allocations: 4 kB / 468.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.1055, allocations: 55.7 kB / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1058, allocations: 51.69 kB / 468.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.107, allocations: 358.5 kB / 469.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1071, allocations: 71.64 kB / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1073, allocations: 23.98 kB / 469.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.18e-05/0.1074, allocations: 35.86 kB / 469.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1076, allocations: 43.83 kB / 469.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1076, allocations: 4 kB / 469.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.1079, allocations: 103.9 kB / 469.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.108, allocations: 11.88 kB / 469.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.108, allocations: 39.8 kB / 469.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.1084, allocations: 159.6 kB / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1084, allocations: 0 / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1084, allocations: 0 / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1084, allocations: 0 / 469.8 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.001246/0.1097, allocations: 431.2 kB / 470.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1098, allocations: 12.03 kB / 470.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.1098, allocations: 8.844 kB / 470.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1101, allocations: 184.2 kB / 470.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1101, allocations: 4.375 kB / 470.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1101, allocations: 8.312 kB / 470.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1104, allocations: 98.09 kB / 470.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1104, allocations: 192 / 470.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1105, allocations: 7.938 kB / 470.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1105, allocations: 7.922 kB / 470.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1107, allocations: 71.97 kB / 470.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.1115, allocations: 396.6 kB / 471 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.112, allocations: 102.6 kB / 471.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.1121, allocations: 32.84 kB / 471.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.1121, allocations: 4 kB / 471.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1122, allocations: 30.56 kB / 471.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.1122, allocations: 0 / 471.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008291/0.113, allocations: 247.6 kB / 471.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1131, allocations: 51.41 kB / 471.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1133, allocations: 142 kB / 471.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1133, allocations: 29.64 kB / 471.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.1134, allocations: 99.95 kB / 471.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1135, allocations: 31.64 kB / 471.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.1135, allocations: 21.7 kB / 471.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1137, allocations: 318.8 kB / 472.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.1138, allocations: 31.98 kB / 472.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.1139, allocations: 35.92 kB / 472.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.114, allocations: 72.84 kB / 472.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1141, allocations: 0 / 472.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004165/0.1145, allocations: 138.4 kB / 472.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1145, allocations: 12 kB / 472.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1145, allocations: 3.938 kB / 472.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.1148, allocations: 36.83 kB / 472.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.115, allocations: 11.98 kB / 472.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.1166, allocations: 1.437 MB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1167, allocations: 15.92 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1168, allocations: 4.188 kB / 473.8 MB, free: 10.55 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.0001173/0.1169, allocations: 125.7 kB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1169, allocations: 7.906 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.1172, allocations: 127.2 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1172, allocations: 0 / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1172, allocations: 288 / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1172, allocations: 3.938 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1174, allocations: 205.6 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1175, allocations: 7.938 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.1175, allocations: 19.86 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.1177, allocations: 32.83 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1177, allocations: 4 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000999/0.1187, allocations: 1.433 MB / 475.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.1187, allocations: 3.984 kB / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.119, allocations: 212.5 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.119, allocations: 85.02 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.119, allocations: 3.984 kB / 476.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1192, allocations: 4 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1192, allocations: 11.98 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1192, allocations: 4 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.73e-05/0.1193, allocations: 115.2 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1193, allocations: 4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1196, allocations: 24 kB / 476.3 MB, free: 7.887 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.0001514/0.1198, allocations: 111.2 kB / 476.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.1202, allocations: 198.7 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1202, allocations: 0 / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1204, allocations: 146.6 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1207, allocations: 19.92 kB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.1211, allocations: 234.9 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1213, allocations: 0.6924 MB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1214, allocations: 19.42 kB / 477.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1214, allocations: 0 / 477.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of Templates: time 0.003586/0.125, allocations: 1.815 MB / 479.5 MB, free: 4.582 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)