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.001518/0.001518, allocations: 177.9 kB / 8.043 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 230 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008477/0.0008476, allocations: 90.05 kB / 280.9 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05159/0.05159, allocations: 8.095 MB / 339.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.666e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09145, allocations: 52.52 MB / 451 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4538, allocations: 79.02 MB / 0.5176 GB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.454, allocations: 64.19 kB / 0.5176 GB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.4729, allocations: 7.987 MB / 0.5254 GB, free: 8.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4729, allocations: 0 / 0.5254 GB, free: 8.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4729, allocations: 4 kB / 0.5254 GB, free: 8.785 MB / 346.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.001361/0.4743, allocations: 0.5906 MB / 0.526 GB, free: 8.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4743, allocations: 11.98 kB / 0.526 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.4744, allocations: 27.67 kB / 0.5261 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4747, allocations: 249.1 kB / 0.5263 GB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4747, allocations: 8 kB / 0.5263 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.4747, allocations: 15.94 kB / 0.5263 GB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003885/0.4751, allocations: 275.8 kB / 0.5266 GB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.4755, allocations: 252.6 kB / 0.5268 GB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4755, allocations: 3.938 kB / 0.5268 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4756, allocations: 3.953 kB / 0.5268 GB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4756, allocations: 15.94 kB / 0.5268 GB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4769, allocations: 0.8743 MB / 0.5277 GB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.4774, allocations: 331.8 kB / 0.528 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.4775, allocations: 115.7 kB / 0.5281 GB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.4777, allocations: 81.3 kB / 0.5282 GB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4777, allocations: 37.8 kB / 0.5282 GB, free: 6.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4778, allocations: 0 / 0.5282 GB, free: 6.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006395/0.4784, allocations: 265.8 kB / 0.5285 GB, free: 6.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4784, allocations: 59.39 kB / 0.5286 GB, free: 6.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.4786, allocations: 173.5 kB / 0.5287 GB, free: 5.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.4786, allocations: 33.69 kB / 0.5288 GB, free: 5.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.4787, allocations: 155.6 kB / 0.5289 GB, free: 5.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.4788, allocations: 78.66 kB / 0.529 GB, free: 5.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.4788, allocations: 0 / 0.529 GB, free: 5.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4789, allocations: 322.5 kB / 0.5293 GB, free: 5.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4791, allocations: 106.9 kB / 0.5294 GB, free: 5.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4792, allocations: 103.5 kB / 0.5295 GB, free: 5.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.4796, allocations: 137.9 kB / 0.5296 GB, free: 5.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4796, allocations: 0 / 0.5296 GB, free: 5.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000699/0.4803, allocations: 364.2 kB / 0.53 GB, free: 4.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4803, allocations: 4 kB / 0.53 GB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4803, allocations: 0 / 0.53 GB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.4806, allocations: 49.97 kB / 0.53 GB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.4809, allocations: 55.22 kB / 0.5301 GB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.4822, allocations: 1.396 MB / 0.5314 GB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.4824, allocations: 23.66 kB / 0.5315 GB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.4825, allocations: 15.11 kB / 0.5315 GB, free: 3.422 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.4826, allocations: 106.6 kB / 0.5316 GB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.4826, allocations: 15.81 kB / 0.5316 GB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006397/0.4833, allocations: 303.4 kB / 0.5319 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4833, allocations: 0 / 0.5319 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.4833, allocations: 0 / 0.5319 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4833, allocations: 4 kB / 0.5319 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009882/0.4843, allocations: 0.6904 MB / 0.5326 GB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4843, allocations: 4 kB / 0.5326 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4845, allocations: 39.91 kB / 0.5326 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.4847, allocations: 47.27 kB / 0.5326 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4847, allocations: 0 / 0.5326 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.4859, allocations: 1.392 MB / 0.534 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4859, allocations: 0 / 0.534 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.4864, allocations: 375.4 kB / 0.5344 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.4865, allocations: 99.78 kB / 0.5344 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.4866, allocations: 4 kB / 0.5345 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.4867, allocations: 0 / 0.5345 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.4868, allocations: 19.48 kB / 0.5345 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4868, allocations: 12 kB / 0.5345 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.4869, allocations: 134.9 kB / 0.5346 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4869, allocations: 0 / 0.5346 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.4873, allocations: 75.84 kB / 0.5347 GB, free: 444 kB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.4875, allocations: 100.2 kB / 0.5348 GB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.4882, allocations: 372 kB / 0.5351 GB, free: 56 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4882, allocations: 0 / 0.5351 GB, free: 56 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.4886, allocations: 233.5 kB / 0.5354 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.4888, allocations: 7.859 kB / 0.5354 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.4893, allocations: 278.6 kB / 0.5356 GB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4897, allocations: 0.7399 MB / 0.5364 GB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.4898, allocations: 29.83 kB / 0.5364 GB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.4899, allocations: 20.44 kB / 0.5364 GB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4899, allocations: 0 / 0.5364 GB, free: 14.79 MB / 362.7 MB Notification: Performance of Templates: time 0.004852/0.4948, allocations: 2.162 MB / 0.5385 GB, free: 12.64 MB / 362.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)