Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001146/0.001146, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.196/1.196, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 109.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1636/0.1636, allocations: 37.99 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08349, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/0.3575, allocations: 89.7 MB / 0.5339 GB, free: 6.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.3577, allocations: 90.92 kB / 0.534 GB, free: 5.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.3872, allocations: 14.27 MB / 0.5479 GB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3873, allocations: 0 / 0.5479 GB, free: 10.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3873, allocations: 4 kB / 0.5479 GB, free: 10.19 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006494/0.3879, allocations: 0.4989 MB / 0.5484 GB, free: 9.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.388, allocations: 16.02 kB / 0.5484 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/0.3888, allocations: 99.59 kB / 0.5485 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3891, allocations: 265 kB / 0.5488 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3892, allocations: 17.61 kB / 0.5488 GB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.3892, allocations: 17.78 kB / 0.5488 GB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.3896, allocations: 306.7 kB / 0.5491 GB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3897, allocations: 0 / 0.5491 GB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.3897, allocations: 16.62 kB / 0.5491 GB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/0.3898, allocations: 29.34 kB / 0.5491 GB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.3902, allocations: 274.5 kB / 0.5494 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.392, allocations: 1.27 MB / 0.5506 GB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.3924, allocations: 237.7 kB / 0.5509 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3924, allocations: 0 / 0.5509 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3925, allocations: 34.62 kB / 0.5509 GB, free: 7.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3925, allocations: 0 / 0.5509 GB, free: 7.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007467/0.3932, allocations: 444.8 kB / 0.5513 GB, free: 7.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3933, allocations: 77.11 kB / 0.5514 GB, free: 6.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3935, allocations: 178.1 kB / 0.5516 GB, free: 6.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3935, allocations: 29.7 kB / 0.5516 GB, free: 6.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.3936, allocations: 158.2 kB / 0.5517 GB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.3936, allocations: 57.08 kB / 0.5518 GB, free: 6.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.3936, allocations: 7.125 kB / 0.5518 GB, free: 6.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3938, allocations: 328.5 kB / 0.5521 GB, free: 6.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3939, allocations: 90.97 kB / 0.5522 GB, free: 6.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.394, allocations: 155.5 kB / 0.5524 GB, free: 6.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3942, allocations: 110.6 kB / 0.5525 GB, free: 5.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3942, allocations: 7.875 kB / 0.5525 GB, free: 5.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003628/0.3946, allocations: 280.7 kB / 0.5527 GB, free: 5.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3946, allocations: 8.281 kB / 0.5527 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3946, allocations: 4 kB / 0.5527 GB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3946, allocations: 4 kB / 0.5527 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.3949, allocations: 59.14 kB / 0.5528 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3949, allocations: 7.938 kB / 0.5528 GB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3951, allocations: 19.52 kB / 0.5528 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3951, allocations: 12 kB / 0.5528 GB, free: 5.621 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.3952, allocations: 159.1 kB / 0.553 GB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.3953, allocations: 15.81 kB / 0.553 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.3956, allocations: 232.3 kB / 0.5532 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3956, allocations: 4 kB / 0.5532 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3956, allocations: 0 / 0.5532 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3957, allocations: 3.984 kB / 0.5532 GB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3969, allocations: 0.9595 MB / 0.5542 GB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3969, allocations: 4 kB / 0.5542 GB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.397, allocations: 42.47 kB / 0.5542 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3971, allocations: 7.953 kB / 0.5542 GB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3971, allocations: 8 kB / 0.5542 GB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3971, allocations: 4 kB / 0.5542 GB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3971, allocations: 7.938 kB / 0.5542 GB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.3976, allocations: 0.6034 MB / 0.5548 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.3977, allocations: 100.9 kB / 0.5549 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.3977, allocations: 7.625 kB / 0.5549 GB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3979, allocations: 15.67 kB / 0.555 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3979, allocations: 23.88 kB / 0.555 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3979, allocations: 11.56 kB / 0.555 GB, free: 3.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.398, allocations: 149 kB / 0.5551 GB, free: 3.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.398, allocations: 0 / 0.5551 GB, free: 3.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000352/0.3984, allocations: 67.36 kB / 0.5552 GB, free: 3.285 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.3985, allocations: 114.8 kB / 0.5553 GB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.3988, allocations: 210.2 kB / 0.5555 GB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3988, allocations: 0 / 0.5555 GB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.399, allocations: 95.33 kB / 0.5556 GB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3993, allocations: 47 kB / 0.5556 GB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.4001, allocations: 0.6474 MB / 0.5563 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4005, allocations: 0.7737 MB / 0.557 GB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.4006, allocations: 45.5 kB / 0.5571 GB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.4007, allocations: 23.42 kB / 0.5571 GB, free: 1.383 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4007, allocations: 7.938 kB / 0.5571 GB, free: 1.375 MB / 362.7 MB Notification: Performance of Templates: time 0.004/0.4047, allocations: 1.695 MB / 0.5588 GB, free: 15.69 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)