Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000877/0.0008771, allocations: 173 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007177/0.0007178, allocations: 81.06 kB / 271.3 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1683/0.1683, allocations: 38.08 MB / 357.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 16 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2431, allocations: 56.31 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.4094, allocations: 94.72 MB / 0.5615 GB, free: 7.641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007647/0.4103, allocations: 87.95 kB / 0.5616 GB, free: 7.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0659/0.4763, allocations: 14.31 MB / 0.5756 GB, free: 9.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4764, allocations: 4 kB / 0.5756 GB, free: 9.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.4764, allocations: 4 kB / 0.5756 GB, free: 9.066 MB / 410.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.001263/0.4777, allocations: 0.499 MB / 0.5761 GB, free: 8.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4777, allocations: 8.031 kB / 0.5761 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.4795, allocations: 108.5 kB / 0.5762 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.4801, allocations: 267.8 kB / 0.5764 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.4802, allocations: 12.38 kB / 0.5764 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.4803, allocations: 20.38 kB / 0.5765 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.4812, allocations: 318.2 kB / 0.5768 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4812, allocations: 192 / 0.5768 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.4813, allocations: 7.938 kB / 0.5768 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.4814, allocations: 27.97 kB / 0.5768 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.4823, allocations: 275.7 kB / 0.5771 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.486, allocations: 1.275 MB / 0.5783 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.4869, allocations: 229.1 kB / 0.5785 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.4872, allocations: 108.3 kB / 0.5786 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/0.4873, allocations: 7.984 kB / 0.5786 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.4873, allocations: 38.55 kB / 0.5787 GB, free: 5.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 8.166e-06/0.4874, allocations: 0 / 0.5787 GB, free: 5.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001636/0.489, allocations: 436.4 kB / 0.5791 GB, free: 5.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.4891, allocations: 81.05 kB / 0.5792 GB, free: 5.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.4895, allocations: 206.2 kB / 0.5794 GB, free: 4.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.4896, allocations: 25.7 kB / 0.5794 GB, free: 4.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4897, allocations: 160 kB / 0.5795 GB, free: 4.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/0.4898, allocations: 55.2 kB / 0.5796 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.4899, allocations: 4 kB / 0.5796 GB, free: 4.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4901, allocations: 326.8 kB / 0.5799 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.4903, allocations: 92.36 kB / 0.58 GB, free: 4.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.4907, allocations: 157.4 kB / 0.5801 GB, free: 4.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.4913, allocations: 256.4 kB / 0.5804 GB, free: 3.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4913, allocations: 0 / 0.5804 GB, free: 3.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007561/0.4921, allocations: 287.1 kB / 0.5807 GB, free: 3.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.4921, allocations: 11.97 kB / 0.5807 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4921, allocations: 4 kB / 0.5807 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.4922, allocations: 4 kB / 0.5807 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.4926, allocations: 59.83 kB / 0.5807 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.4927, allocations: 7.938 kB / 0.5807 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.493, allocations: 15.98 kB / 0.5808 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.493, allocations: 8 kB / 0.5808 GB, free: 3.387 MB / 410.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.0002714/0.4933, allocations: 165.6 kB / 0.5809 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.4934, allocations: 19.81 kB / 0.5809 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.4941, allocations: 226.2 kB / 0.5812 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4941, allocations: 7.938 kB / 0.5812 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4941, allocations: 0 / 0.5812 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4942, allocations: 0 / 0.5812 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.4964, allocations: 0.9557 MB / 0.5821 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.4964, allocations: 4 kB / 0.5821 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.4967, allocations: 39.91 kB / 0.5821 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.4967, allocations: 4 kB / 0.5822 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.4967, allocations: 16 kB / 0.5822 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.4967, allocations: 7.938 kB / 0.5822 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.506e-05/0.4968, allocations: 7.938 kB / 0.5822 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.4975, allocations: 409.1 kB / 0.5826 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4976, allocations: 104.9 kB / 0.5827 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.4977, allocations: 11.98 kB / 0.5827 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.498, allocations: 12 kB / 0.5827 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.4981, allocations: 23.86 kB / 0.5827 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.4981, allocations: 8 kB / 0.5827 GB, free: 1.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.4984, allocations: 147.2 kB / 0.5829 GB, free: 1.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4984, allocations: 0 / 0.5829 GB, free: 1.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007723/0.4992, allocations: 71.94 kB / 0.5829 GB, free: 0.9688 MB / 410.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.00024/0.4994, allocations: 115.1 kB / 0.583 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.5001, allocations: 207.7 kB / 0.5832 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5001, allocations: 0 / 0.5832 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.5004, allocations: 104.6 kB / 0.5833 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.5013, allocations: 35.98 kB / 0.5834 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.5033, allocations: 0.7027 MB / 0.5841 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.5038, allocations: 0.7557 MB / 0.5848 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5039, allocations: 27.42 kB / 0.5848 GB, free: 14.91 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5039, allocations: 0 / 0.5848 GB, free: 14.91 MB / 426.7 MB Notification: Performance of Templates: time 0.007931/0.5119, allocations: 2.635 MB / 0.5874 GB, free: 12.28 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)