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.001103/0.001103, allocations: 177.9 kB / 8.044 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.288/1.288, 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.0009251/0.0009251, allocations: 95.19 kB / 280.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04639/0.04639, allocations: 8.103 MB / 339.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.416e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 52.53 MB / 451 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4444, allocations: 78.06 MB / 0.5166 GB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.4446, allocations: 58.42 kB / 0.5167 GB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.4678, allocations: 9.23 MB / 0.5257 GB, free: 8.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4679, allocations: 0 / 0.5257 GB, free: 8.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.4679, allocations: 4 kB / 0.5257 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00191/0.4698, allocations: 0.6761 MB / 0.5264 GB, free: 8.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.4699, allocations: 11.98 kB / 0.5264 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.47, allocations: 27.72 kB / 0.5264 GB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.4705, allocations: 288.9 kB / 0.5267 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4705, allocations: 8 kB / 0.5267 GB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.4706, allocations: 15.94 kB / 0.5267 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004756/0.4711, allocations: 318.3 kB / 0.527 GB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.4716, allocations: 313.2 kB / 0.5273 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4716, allocations: 3.953 kB / 0.5273 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.4716, allocations: 0 / 0.5273 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4716, allocations: 4 kB / 0.5273 GB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.4736, allocations: 1.074 MB / 0.5284 GB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.474, allocations: 354.8 kB / 0.5287 GB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.4743, allocations: 198.3 kB / 0.5289 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-05/0.4744, allocations: 4 kB / 0.5289 GB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4744, allocations: 38.25 kB / 0.5289 GB, free: 6.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.4744, allocations: 0.75 kB / 0.5289 GB, free: 6.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001204/0.4756, allocations: 495.7 kB / 0.5294 GB, free: 5.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.4757, allocations: 55.41 kB / 0.5295 GB, free: 5.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.4759, allocations: 240.4 kB / 0.5297 GB, free: 5.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.476, allocations: 25.7 kB / 0.5297 GB, free: 5.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4761, allocations: 161.5 kB / 0.5299 GB, free: 5.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.4762, allocations: 97.42 kB / 0.53 GB, free: 5.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.4762, allocations: 0 / 0.53 GB, free: 5.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4764, allocations: 345.6 kB / 0.5303 GB, free: 5.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.4766, allocations: 186.8 kB / 0.5305 GB, free: 4.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.4768, allocations: 182 kB / 0.5307 GB, free: 4.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.4774, allocations: 221 kB / 0.5309 GB, free: 4.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4774, allocations: 0 / 0.5309 GB, free: 4.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001342/0.4787, allocations: 0.6158 MB / 0.5315 GB, free: 4.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4788, allocations: 4 kB / 0.5315 GB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4788, allocations: 3.984 kB / 0.5315 GB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.4794, allocations: 152.6 kB / 0.5316 GB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.4798, allocations: 65.39 kB / 0.5317 GB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/0.4838, allocations: 4.163 MB / 0.5357 GB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.4841, allocations: 23.8 kB / 0.5358 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.4841, allocations: 15.61 kB / 0.5358 GB, free: 15.96 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.0001254/0.4843, allocations: 122.7 kB / 0.5359 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4843, allocations: 27.5 kB / 0.5359 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.486, allocations: 0.5272 MB / 0.5364 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.486, allocations: 0 / 0.5364 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.486, allocations: 8 kB / 0.5364 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4861, allocations: 3.984 kB / 0.5365 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.4868, allocations: 457 kB / 0.5369 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4868, allocations: 0 / 0.5369 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.4872, allocations: 43.91 kB / 0.5369 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008675/0.4881, allocations: 151.8 kB / 0.5371 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.4881, allocations: 3.688 kB / 0.5371 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005216/0.4934, allocations: 4.166 MB / 0.5411 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4934, allocations: 0 / 0.5411 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.4951, allocations: 0.5862 MB / 0.5417 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.4953, allocations: 111.8 kB / 0.5418 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.4953, allocations: 0 / 0.5418 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.4957, allocations: 11.94 kB / 0.5418 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.4958, allocations: 15.97 kB / 0.5419 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.4958, allocations: 11.44 kB / 0.5419 GB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.4961, allocations: 185.7 kB / 0.542 GB, free: 10.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4961, allocations: 0 / 0.542 GB, free: 10.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007715/0.4969, allocations: 107.8 kB / 0.5421 GB, free: 9.953 MB / 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 (26): * Single equations (assignments): 23 * 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.000295/0.4972, allocations: 115.2 kB / 0.5423 GB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.4994, allocations: 0.7595 MB / 0.543 GB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4994, allocations: 3.938 kB / 0.543 GB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.5006, allocations: 0.5327 MB / 0.5435 GB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.501, allocations: 17.38 kB / 0.5435 GB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.502, allocations: 365.1 kB / 0.5439 GB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.5025, allocations: 0.7644 MB / 0.5446 GB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.5028, allocations: 38.02 kB / 0.5447 GB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.5028, allocations: 23.44 kB / 0.5447 GB, free: 7.586 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5029, allocations: 0 / 0.5447 GB, free: 7.586 MB / 362.7 MB Notification: Performance of Templates: time 0.01095/0.5138, allocations: 3.831 MB / 0.5484 GB, free: 3.781 MB / 362.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)