Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.3 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 112 kB / 290.6 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04739/0.04739, allocations: 8.089 MB / 348.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 52.17 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.103, allocations: 51.52 MB / 462.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00293/0.106, allocations: 1.81 MB / 464.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.108, allocations: 1.469 MB / 465.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1082, allocations: 4 kB / 465.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.1086, allocations: 123.6 kB / 466 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1089, allocations: 79.5 kB / 466.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1103, allocations: 0.9024 MB / 467 MB, free: 1.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1106, allocations: 230.9 kB / 467.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1108, allocations: 103.3 kB / 467.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.1108, allocations: 91.64 kB / 467.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.111, allocations: 139.4 kB / 467.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.1111, allocations: 16 kB / 467.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1114, allocations: 203.8 kB / 467.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.1115, allocations: 47.78 kB / 467.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.1116, allocations: 119.4 kB / 467.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.112, allocations: 399.1 kB / 468.3 MB, free: 328 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.112, allocations: 4 kB / 468.3 MB, free: 324 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.112, allocations: 0 / 468.3 MB, free: 324 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.112, allocations: 0 / 468.3 MB, free: 324 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00216/0.1142, allocations: 0.7684 MB / 469.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1143, allocations: 8.031 kB / 469.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.1143, allocations: 36.64 kB / 469.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1146, allocations: 236 kB / 469.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1146, allocations: 20.94 kB / 469.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.1147, allocations: 24.38 kB / 469.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.1152, allocations: 297.3 kB / 469.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1152, allocations: 7.875 kB / 469.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1152, allocations: 12 kB / 469.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1152, allocations: 4 kB / 469.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.1157, allocations: 294.1 kB / 470 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.1171, allocations: 0.8891 MB / 470.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.1176, allocations: 291.1 kB / 471.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1178, allocations: 128.8 kB / 471.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.1179, allocations: 12.42 kB / 471.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1179, allocations: 34.56 kB / 471.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.1179, allocations: 0 / 471.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001204/0.1191, allocations: 0.5244 MB / 471.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1192, allocations: 55.41 kB / 471.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1193, allocations: 164 kB / 472.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1194, allocations: 33.7 kB / 472.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.1195, allocations: 148.3 kB / 472.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.1195, allocations: 90.66 kB / 472.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1197, allocations: 61.55 kB / 472.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1198, allocations: 330.8 kB / 472.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.12, allocations: 128 kB / 472.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1202, allocations: 132 kB / 473 MB, free: 11.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.1206, allocations: 290.5 kB / 473.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1206, allocations: 11.88 kB / 473.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006702/0.1213, allocations: 405.9 kB / 473.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1213, allocations: 4 kB / 473.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1213, allocations: 0 / 473.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.1216, allocations: 60.81 kB / 473.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1219, allocations: 59.91 kB / 473.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.1233, allocations: 1.44 MB / 475.2 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1235, allocations: 15.84 kB / 475.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1235, allocations: 12 kB / 475.3 MB, free: 8.973 MB / 314.7 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 (35): * Single equations (assignments): 34 * 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.000139/0.1236, allocations: 137.9 kB / 475.4 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.1237, allocations: 19.8 kB / 475.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.1244, allocations: 360.4 kB / 475.8 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1244, allocations: 4 kB / 475.8 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1244, allocations: 0 / 475.8 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1244, allocations: 3.984 kB / 475.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.1248, allocations: 361.3 kB / 476.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1248, allocations: 8 kB / 476.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.125, allocations: 43.86 kB / 476.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.1252, allocations: 52.81 kB / 476.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.1252, allocations: 3.938 kB / 476.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.1264, allocations: 1.433 MB / 477.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1264, allocations: 0 / 477.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.1274, allocations: 1.081 MB / 478.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.1275, allocations: 96.84 kB / 478.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.1275, allocations: 8 kB / 478.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1277, allocations: 7.938 kB / 478.9 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1277, allocations: 15.97 kB / 478.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1277, allocations: 12 kB / 478.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1278, allocations: 134.1 kB / 479 MB, free: 4.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1278, allocations: 3.938 kB / 479 MB, free: 4.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004664/0.1283, allocations: 83.84 kB / 479.1 MB, free: 4.855 MB / 314.7 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 (25): * Single equations (assignments): 24 * 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.0002267/0.1285, allocations: 107.2 kB / 479.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.1293, allocations: 426.4 kB / 479.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1293, allocations: 0 / 479.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.1298, allocations: 262.5 kB / 479.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.13, allocations: 12 kB / 479.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1311, allocations: 0.7297 MB / 480.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1314, allocations: 0.7398 MB / 481.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.1316, allocations: 41.5 kB / 481.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.1316, allocations: 23.44 kB / 481.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1316, allocations: 0 / 481.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of Templates: time 0.1766/0.3082, allocations: 2.711 MB / 484.1 MB, free: 27.97 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)