Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 182 kB / 13.23 MB, free: 2.086 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.404/1.404, allocations: 221.4 MB / 235.1 MB, free: 14.42 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.0008259/0.000826, allocations: 93.62 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04128/0.04128, allocations: 8.102 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.248e-05, allocations: 4 kB / 405.5 MB, free: 61.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07439/0.07443, allocations: 52.52 MB / 458 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.3824, allocations: 78.65 MB / 0.5241 GB, free: 7.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.3827, allocations: 60.23 kB / 0.5241 GB, free: 7.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.4065, allocations: 9.369 MB / 0.5333 GB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4066, allocations: 0 / 0.5333 GB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.4066, allocations: 8 kB / 0.5333 GB, free: 15.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001663/0.4083, allocations: 0.6701 MB / 0.5339 GB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4084, allocations: 8.031 kB / 0.5339 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.4085, allocations: 27.72 kB / 0.534 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4088, allocations: 297 kB / 0.5342 GB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4088, allocations: 12.25 kB / 0.5342 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.4089, allocations: 18.88 kB / 0.5343 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.4095, allocations: 332 kB / 0.5346 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4095, allocations: 0 / 0.5346 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.4095, allocations: 10.69 kB / 0.5346 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.4095, allocations: 11.94 kB / 0.5346 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.41, allocations: 327.7 kB / 0.5349 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4118, allocations: 1.129 MB / 0.536 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.4123, allocations: 399.5 kB / 0.5364 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.4126, allocations: 225.2 kB / 0.5366 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/0.4127, allocations: 7.984 kB / 0.5366 GB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4127, allocations: 42.39 kB / 0.5367 GB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.236e-06/0.4127, allocations: 4 kB / 0.5367 GB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001178/0.4139, allocations: 0.5267 MB / 0.5372 GB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.414, allocations: 55.41 kB / 0.5372 GB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.4142, allocations: 215.6 kB / 0.5374 GB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.4142, allocations: 29.27 kB / 0.5375 GB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.4143, allocations: 150.8 kB / 0.5376 GB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.4144, allocations: 114.2 kB / 0.5377 GB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.4145, allocations: 10.81 kB / 0.5377 GB, free: 12.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4146, allocations: 336.6 kB / 0.5381 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.4148, allocations: 189.1 kB / 0.5382 GB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.4151, allocations: 201.2 kB / 0.5384 GB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.4154, allocations: 211 kB / 0.5386 GB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4154, allocations: 0 / 0.5386 GB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001154/0.4166, allocations: 0.622 MB / 0.5392 GB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4166, allocations: 4 kB / 0.5392 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.4166, allocations: 3.953 kB / 0.5392 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.4173, allocations: 151.2 kB / 0.5394 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4177, allocations: 67.83 kB / 0.5395 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.4212, allocations: 4.304 MB / 0.5437 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.4215, allocations: 30.47 kB / 0.5437 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.4215, allocations: 12.14 kB / 0.5437 GB, free: 6.688 MB / 362.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 (38): * Single equations (assignments): 35 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.4217, allocations: 127.4 kB / 0.5438 GB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.4218, allocations: 31.61 kB / 0.5438 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.423, allocations: 0.5961 MB / 0.5444 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4231, allocations: 4 kB / 0.5444 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4231, allocations: 0 / 0.5444 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4231, allocations: 3.953 kB / 0.5444 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.4236, allocations: 0.4998 MB / 0.5449 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4236, allocations: 4 kB / 0.5449 GB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4239, allocations: 55.16 kB / 0.545 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.4245, allocations: 150.9 kB / 0.5451 GB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.4245, allocations: 15.44 kB / 0.5451 GB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.4279, allocations: 4.307 MB / 0.5493 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4279, allocations: 0 / 0.5493 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.429, allocations: 0.6265 MB / 0.55 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.4291, allocations: 108.5 kB / 0.5501 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.4291, allocations: 3.875 kB / 0.5501 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.4294, allocations: 10.94 kB / 0.5501 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.4294, allocations: 23.78 kB / 0.5501 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.4295, allocations: 7.984 kB / 0.5501 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.4296, allocations: 179 kB / 0.5503 GB, free: 460 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4296, allocations: 0 / 0.5503 GB, free: 460 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.4301, allocations: 122 kB / 0.5504 GB, free: 352 kB / 362.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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.4303, allocations: 119.5 kB / 0.5505 GB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.4317, allocations: 0.8114 MB / 0.5513 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4317, allocations: 0 / 0.5513 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.4327, allocations: 0.5803 MB / 0.5519 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.4329, allocations: 18.94 kB / 0.5519 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.4336, allocations: 400.8 kB / 0.5523 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.4339, allocations: 0.7608 MB / 0.553 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.4341, allocations: 42.02 kB / 0.553 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.4341, allocations: 26.55 kB / 0.5531 GB, free: 13.85 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4341, allocations: 0 / 0.5531 GB, free: 13.85 MB / 378.7 MB Notification: Performance of Templates: time 0.007776/0.4419, allocations: 4.383 MB / 0.5574 GB, free: 9.496 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)