Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009639/0.0009641, allocations: 169.6 kB / 16.76 MB, free: 5.055 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.47/1.47, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0009571/0.0009571, allocations: 86.34 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2334/0.2334, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 56.32 MB / 480.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.3536, allocations: 94.04 MB / 0.5608 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3539, allocations: 87.95 kB / 0.5609 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03175/0.3856, allocations: 13.25 MB / 0.5739 GB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.3857, allocations: 0 / 0.5739 GB, free: 10.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.3857, allocations: 7.938 kB / 0.5739 GB, free: 10.81 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.0007259/0.3865, allocations: 0.4951 MB / 0.5743 GB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3865, allocations: 8.031 kB / 0.5744 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.3874, allocations: 92.64 kB / 0.5744 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3877, allocations: 268.3 kB / 0.5747 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3878, allocations: 12.38 kB / 0.5747 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.3878, allocations: 16.38 kB / 0.5747 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.3883, allocations: 322.4 kB / 0.575 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3883, allocations: 0 / 0.575 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3883, allocations: 4 kB / 0.575 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.723e-05/0.3884, allocations: 27.97 kB / 0.5751 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3888, allocations: 279.7 kB / 0.5753 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3904, allocations: 1.285 MB / 0.5766 GB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.3908, allocations: 234.3 kB / 0.5768 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3909, allocations: 45.77 kB / 0.5769 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3909, allocations: 7.984 kB / 0.5769 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3909, allocations: 38.5 kB / 0.5769 GB, free: 7.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3909, allocations: 0 / 0.5769 GB, free: 7.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006293/0.3916, allocations: 271.7 kB / 0.5772 GB, free: 7.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3916, allocations: 93.22 kB / 0.5772 GB, free: 7.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3918, allocations: 194.2 kB / 0.5774 GB, free: 6.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3919, allocations: 29.7 kB / 0.5775 GB, free: 6.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.392, allocations: 163.7 kB / 0.5776 GB, free: 6.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.392, allocations: 47.36 kB / 0.5777 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.392, allocations: 4 kB / 0.5777 GB, free: 6.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3922, allocations: 322.8 kB / 0.578 GB, free: 6.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.3923, allocations: 47.97 kB / 0.578 GB, free: 6.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3924, allocations: 140.8 kB / 0.5782 GB, free: 6.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3927, allocations: 213.2 kB / 0.5784 GB, free: 5.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3927, allocations: 0 / 0.5784 GB, free: 5.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000312/0.393, allocations: 229 kB / 0.5786 GB, free: 5.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.393, allocations: 4 kB / 0.5786 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.393, allocations: 4 kB / 0.5786 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.393, allocations: 4 kB / 0.5786 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3932, allocations: 47.91 kB / 0.5786 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3932, allocations: 7.938 kB / 0.5786 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.3933, allocations: 8.438 kB / 0.5786 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3934, allocations: 16 kB / 0.5787 GB, free: 5.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.0001327/0.3935, allocations: 157.7 kB / 0.5788 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.3935, allocations: 19.75 kB / 0.5788 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.3938, allocations: 143.1 kB / 0.579 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3938, allocations: 0 / 0.579 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3938, allocations: 4.062 kB / 0.579 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3938, allocations: 4 kB / 0.579 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.3947, allocations: 0.6612 MB / 0.5796 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3947, allocations: 4 kB / 0.5796 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.3948, allocations: 27.92 kB / 0.5797 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3948, allocations: 8 kB / 0.5797 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3948, allocations: 11.94 kB / 0.5797 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3948, allocations: 4 kB / 0.5797 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3948, allocations: 4 kB / 0.5797 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.3953, allocations: 334.2 kB / 0.58 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.3954, allocations: 96.95 kB / 0.5801 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3954, allocations: 15.92 kB / 0.5801 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3956, allocations: 4 kB / 0.5801 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3957, allocations: 19.98 kB / 0.5801 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3957, allocations: 11.94 kB / 0.5801 GB, free: 3.777 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.3959, allocations: 152.1 kB / 0.5803 GB, free: 3.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3959, allocations: 0 / 0.5803 GB, free: 3.629 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.3964, allocations: 56 kB / 0.5803 GB, free: 3.574 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * Single equations (assignments): 14 * 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.000158/0.3966, allocations: 107.1 kB / 0.5804 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.3969, allocations: 135.7 kB / 0.5806 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3969, allocations: 0 / 0.5806 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.397, allocations: 65.59 kB / 0.5806 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3975, allocations: 31.98 kB / 0.5807 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.3983, allocations: 0.6099 MB / 0.5813 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3987, allocations: 0.7596 MB / 0.582 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.3988, allocations: 23.42 kB / 0.582 GB, free: 1.742 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3988, allocations: 0 / 0.582 GB, free: 1.742 MB / 410.7 MB Notification: Performance of Templates: time 0.004025/0.4028, allocations: 2.248 MB / 0.5842 GB, free: 15.49 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)